return to test

This commit is contained in:
Karol Wypchlo 2021-02-11 22:43:31 +01:00
parent f05d7beb39
commit 3c112643e9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ export default async (req, res) => {
console.log(req.rawHeaders);
try {
const auth = await superagent
.get("/user")
.get("http://oathkeeper:4455/user")
.set("Cookie", serialize("ory_kratos_session", req.cookies.ory_kratos_session));
console.log(auth.header);