Hello all, when trying to use kratos admin <https:...
# talk-kratos
k
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 oigins: - <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. What can I do? Here is the 200 response from kratos, which is rejected by the browser due to "missing allowed origin":
Copy code
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Length: 3
Content-Type: application/json; charset=utf-8
Date: Mon, 03 Apr 2023 07:50:44 GMT
Link: <<http://kamilk:4434/identities?page=0&page_size=250&page_token=eyJvZmZzZXQiOiIwIiwidiI6Mn0&per_page=250>>; rel="first",<<http://kamilk:4434/identities?page=1&page_size=250&page_token=eyJvZmZzZXQiOiIyNTAiLCJ2IjoyfQ&per_page=250>>; rel="next",<<http://kamilk:4434/identities?page=-1&page_size=250&page_token=eyJvZmZzZXQiOiItMjUwIiwidiI6Mn0&per_page=250>>; rel="prev"
X-Total-Count: 0