-
Notifications
You must be signed in to change notification settings - Fork 1.3k
How-to: Use third-party opaque tokens for authentication. #806
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
Comments
@lu-cheng I don't understand your use case. Can you provide more details? What authentication system are you using and looking to integrate with Spring Authorization Server? |
@jgrandja Sorry for late. There is an old system that directly returns an opaque token to the front end after logging in, and provides a userInfo interface to obtain user information. This is similar to introspection of opaque tokens. I need to do user authentication in Spring Authorization Server with something like introspection using opaque tokens. It is hoped that an opaque token can be carried in the /authorize request for user authentication. |
@lu-cheng Regarding...
User Authentication is not a responsibility of Spring Authorization Server. Instead, you would use Spring Security to configure the Authentication mechanism and associated integration with the backing IdP. The only requirement of Spring Authorization Server is that the current request must be authenticated in order to proceed with certain flows, for example, I would recommend reviewing the reference manual by first going over the Authentication options and I think the Pre-Authentication Scenario might be applicable to your use case. |
My current project needs to use third-party authentication, and the other party is not compatible with oauth2, but it can obtain an opaque token, and through the opaque token, user information can be obtained.
Is it possible to give an example in this case.
The text was updated successfully, but these errors were encountered: