return to test
This commit is contained in:
parent
3c112643e9
commit
104a5159e2
|
@ -9,7 +9,7 @@ export default async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const auth = await superagent
|
const auth = await superagent
|
||||||
.get("http://oathkeeper:4455/user")
|
.get("http://oathkeeper:4455/user")
|
||||||
.set("Cookie", serialize("ory_kratos_session", req.cookies.ory_kratos_session));
|
.set("cookie", serialize("ory_kratos_session", req.cookies.ory_kratos_session));
|
||||||
|
|
||||||
console.log(auth.header);
|
console.log(auth.header);
|
||||||
|
|
||||||
|
|
Reference in New Issue