-
I setup Authentik this weekend and I am stuck on getting Semaphore working. I followed the instructions found here, but when I try to login with Authentik it goes out to Authentik, but comes back to the login screen. No message of any kind, but looking at the logs in Portainer I get this: The only reason why my user in Semaphore is admin, I thought in was conflicting with my Authentik user since it was the same. However, no matter what username I give it I get the same error, but with the username at that time. I read the instructions for OIDC and added all the endpoint stuff, but nothing seems to work. Any idea why I am seeing this error? My last attempt looked like this:
Sorry forgot to mention my versions: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
The username claim | doesn't make sense |
Beta Was this translation helpful? Give feedback.
-
Hi @goug76 you are took GitHub example. It is not suitable for Authentik. I experimented with it and this is my config: "authentik": {
"display_name": "Authentik",
"provider_url": "http://localhost:9000/application/o/test/",
"client_id": "***",
"client_secret": "***",
"redirect_url": "http://localhost:8081/api/auth/oidc/authentik/redirect/",
"scopes": ["openid", "profile", "email"],
"username_claim": "preferred_username",
"name_claim": "preferred_username"
} |
Beta Was this translation helpful? Give feedback.
-
I was reading another article, it was for a different app, but it had a similar error message. They said they switched their database to MySQL and it worked. I am using the Postgres database; do you think it would make a difference if I switched? |
Beta Was this translation helpful? Give feedback.
Hi @goug76 you are took GitHub example. It is not suitable for Authentik. I experimented with it and this is my config: