Hi,
I've configured an OAuth 2.0: https://docs.directus.io/self-hosted/config-options.html#sso-oauth2-and-openid provider with my own authentik: https://goauthentik.io/ server.
When I try to log in, the connection through authentic goes fine but I'm getting Wrong username or password on directus. When I look at the logs I see a lot of connections being blocked because of CORS.
I've tried to set my CORS_ORIGIN env var to "array:https://authentik.example.com,https://directus.example.com" but it didn't help.
Is there something else I can do ?
Thanks,
Making authentication simple.
Environment variables are used for all configuration within a Directus project. These variables can be defined in a number of ways, which we cover below.