-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth login failed: No profile #410
Comments
this happens, when authelia does not provide an email address or a name for the user you are using: https://github.com/hoarder-app/hoarder/blob/main/apps/web/server/auth.ts#L150 you'll have to check on authelia side to fill those in. |
@kamtschatka I think we should probably remove the name restriction. If it's empty, we can just use the email and not fail the login on it. |
using email address as fallback, if the name is not available
You're right! I double-checked my Authelia configuration and discovered that the display name attribute was missing. Thank you for your awesome work! |
Hi, I just tried to install hoarder today and wanted to connect it to my authentik install. I first tried Side Note: all fields in my OIDC Profile are set. There is a name, a username, an email, etc. so in theory this should work independent of the fix from above, no? :) Thank you very much! |
@mirisbowring what kind of error did you get? |
@mirisbowring yeah, that's weird indeed. Did you by any chance change the |
I've just set it to the defaults: OAUTH_SCOPE="openid email profile" Also commented this line out and still the same behaviour 😊 |
Hi, since this issue persists, can we reopen this issue? |
My oauth provider: authelia 4.38.12
Sign in with authelia
redirect to authelia sso pageaccept
redirect back to hoarder login page, but got errorOAuth login failed: No profile
my authelia instance works well with other self-host services like linkwarden and immich
found no useful log via
docker logs hoarder
env
The text was updated successfully, but these errors were encountered: