ory / kratos-selfservice-ui-react-nextjs

A full reference implementation for designing your own login, registration, recovery, verification, ... pages using Ory Kratos' APIs.
https://www.ory.sh/
Apache License 2.0
135 stars 56 forks source link

CSRF Error #66

Closed jchao01 closed 9 months ago

jchao01 commented 9 months ago

I've got an app at localhost:3000 setup that redirects the user to localhost:4000/oauth2/auth?${queryParams} to login/signup and get an OAuth token (where localhost:4000 is the Ory tunnel and the custom UI URLs have been set to localhost:4455) however I always get a Toast error that A security violation was detected, please fill out the form again.

Would love pointers on how to resolve this and build custom UIs for an OAuth provider.

jchao01 commented 9 months ago

Was the result of mixing up localhost and 127.0.0.1