-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
status: duplicateA duplicate of another issueA duplicate of another issue
Description
Expected Behavior
I've just finished v1 of a fully functional SSO server with Spring Authorization Server. Love it! Thank you for this amazing framework. What I am looking at next is to have the SSO server be the hub for all my connected resource servers. What I'd like to do next, is add support for other ways the user can create an account via popular social platforms.
Flow:
- User clicks on "Log in" on my Single Page Application
- User is forwarded to my Spring Authorization Server "/login" page
- User chooses to log in with FB
- Go to FB domain
- Authenticate with FB
- Return to my SSO server with FB access token
- Retrieve FB user info
- Create user record on my SSO server
- Put the authenticated user in SpringSecurityContext
The next steps I am unclear about. I'd like to:
- Create a OAuth2Authorization entry based on the client-id the user came in on in step 1.
- Return to Single Page Application with access token from my SSO
Is that something that can be done today by me or would this be a feature that could go in Spring Authorization Server code base?
Thank you 🍻
Metadata
Metadata
Assignees
Labels
status: duplicateA duplicate of another issueA duplicate of another issue