You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all, when trying to use kratos admin https://github.com/dfoxg/kratos-admin-ui I am running into CORS problems. Admin running on kamilk:3002 , kratos config contains allowed origins: - http://kamilk:3002/, browser fails to GET http://kamilk:4434/admin/identities due to CORS error: missing allowed origin. Indeed, kratos response does not contain Access-Control-Allow-Origin header.
Here is the 200 response from kratos, which is rejected by the browser due to "missing allowed origin":
The admin API is not supposed to be accessed via browser and is not secured by design. Please use a reverse proxy like Ory Oathkeeper in front of it to configure CORS and auth for the admin APIs.
Preflight checklist
Describe your problem
Hello all, when trying to use kratos admin https://github.com/dfoxg/kratos-admin-ui I am running into CORS problems. Admin running on kamilk:3002 , kratos config contains
allowed origins: - http://kamilk:3002/
, browser fails to GET http://kamilk:4434/admin/identities due to CORS error:missing allowed origin
. Indeed, kratos response does not containAccess-Control-Allow-Origin
header.Here is the 200 response from kratos, which is rejected by the browser due to "missing allowed origin":
It looks that kratos admin does not support CORS.
Describe your ideal solution
Support CORS in kratos admin, just like in kratos public.
Workarounds or alternatives
None
Version
0.13.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: