Skip to content
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

An error occurs when the token not contains the token_principal_attri… #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cay89
Copy link

@cay89 cay89 commented Feb 6, 2025

…bute

This can happen if I need to support both access tokens received with the standard Authorization Code Flow and access tokens received with the Client Credentials Grant. In the former case, I set the "email" field in the user_provider_credential and token_principal_attribute settings, but in the latter case, there is no email address in the token, but I handle this with the cusom retrieve method.

image

…bute

This can happen if I need to support both access tokens received with the standard Authorization Code Flow and access tokens received with the Client Credentials Grant. In the former case, I set the "email" field in the user_provider_credential and token_principal_attribute settings, but in the latter case, there is no email address in the token, but I handle this with the cusom retrieve method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant