Disable local login #2336
-
Heya, I just enabled OpenIDConnect with authentik and now I linked my existing accounts to my authentik account. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
You can disable registration but not login at the moment |
Beta Was this translation helpful? Give feedback.
-
For anyone else who stumbles upon this thread from Google: I was able to hack it for now in my Nginx config: location /api-token-auth {
return 404;
}
location /accounts/login/ {
return 303 /accounts/oidc/authentik/login/?process=login;
} The first block disables the login API, and the second automatically redirects from the frontend to OIDC login. Update that latter path for your setup (change authentik to whatever your oidc provider is called). |
Beta Was this translation helpful? Give feedback.
You can disable registration but not login at the moment