rough-musician-16785
08/10/2023, 12:52 AMkratos-selfservice-ui-node
to print out the contents of next
if failing to do the following call:
oauth2
.getOAuth2ConsentRequest()
And it seems the code is reaching out to <https://playground.projects.oryapis.com/admin/identities/[...]>
which was not expected, and that is the service coming back with a 401
which makes things fail. Grepping around in the code this looks like the default for an env variable I have not set yet:
./src/pkg/sdk/index.ts: process.env.ORY_SDK_URL || "<https://playground.projects.oryapis.com>"