Skip to content
Discussion options

You must be logged in to vote

Thanks for the screenshot! Seeing that the scopes (openid, email, profile) are properly assigned in Authentik narrows down the issue significantly.

Since the stack trace shows the exception inside RunUserInformationReceivedEventAsync, ASP.NET Core successfully called Authentik's /userinfo endpoint, but Mail-Archiver is throwing MissingClaimException because one specific required claim is still missing from the returned JSON payload.

Here are the 4 main reasons this happens with Authentik and how to solve it:

1. Empty User Profile Fields in Authentik

Even with the email and profile mappings attached, if the test user in Authentik has an empty Email or empty Name/Username field in their pro…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AntonAzer
Comment options

Answer selected by EgidioCaprino
Comment options

You must be logged in to vote
2 replies
@AntonAzer
Comment options

@EgidioCaprino
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants