CORS error while sending HEAD /oauth/v2/authorize request in a Custom Login UI
Self hosted Zitadel.
Following the guide from here: https://zitadel.com/docs/guides/integrate/login-ui
Hello! We are implementing a custom UI and meet the CORS error when using the browser to send the request:
We receive the error after sending a preflight request which doesn't return the headers in the Access-Control-Allow-Origin header.
How to set up Zitadel to solve this problem? (
http://localhost:3000
is added to redirect urls of the application).
PS. I can complete full OIDC flow using Postman but browser meets the CORS errorZITADEL Docs
In the following guides you will learn how to create your own login UI with our APIs. The different scenarios like username/password, external identity provider, etc. will be shown.
1 Reply
Hello. Did you enable developer mode in Redirect Settings?
