-
Hey guys, As the title says, after logging in as a user in Authentik, I get redirected to some json with the following URL: https://ryot.example.com/api/auth?code=somecode&state=somestate Also, I made another discussion about how I don't know how to associate an Authentik login with an existing user in ryot, so it could just be related to this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
For existing user, please follow this guide: #750 (comment) What does the JSON page say when you get redirected? |
Beta Was this translation helpful? Give feedback.
-
And when checking the database, there is no new user after logging in using authentik, probably for a similar reason |
Beta Was this translation helpful? Give feedback.
-
Can you show the env variables you have set for getting OIDC working? Please make sure you redact out sensitive parts. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Client secret and ID are correct, and without the trailing slash I don't get the "Continue with OpenID Connect" option on the login page. I have openid and email scopes selected in Authentik. Here is the log output:
Where the following sections are all that appear in the log during the process:
|
Beta Was this translation helpful? Give feedback.
-
Discussion is on Discord, but this problem occured because I had |
Beta Was this translation helpful? Give feedback.
Discussion is on Discord, but this problem occured because I had
USERS_ALLOW_REGISTRATION=false
set in mycompose.yml
for ryot. Setting this to true was all I had to do to get it to work