You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thanks for the great course on PluralSight, your clear and concise teaching style helped me learn a lot in a short time.
I have a question which I don't think was covered in your course. If this isn't the place for questions, please let me know, I'll delete this.
I have a front end SPA that performs half of the OAuth authorisation flow, i.e. it gets the authorization code from Google's OAuth endpoint.
I want to pass this to my spring boot back end and have my back end exchange the code for a token and then establish a user session. Now I can of course do this manually and use the Google API library in Java, but there are a multitude of benefits I can derive by getting spring to do the work for me.
In your course section 'Server-side Applications: Single Sign-in with Oauth2', you show how we can add configuration to our applications, based on which Spring automatically performs the whole authorisation flow for an identity provider like Google. Is there however a well established way that I can customise spring so that it only performs the 'code for token exchange' part of the authorisation flow?
The text was updated successfully, but these errors were encountered:
Closing this issue, I've decided to follow your latest video on Plural sight and perform all auth on my backend and send a session cookie to my react front end. Thank you for providing this brilliant resource.
Hi Wojciech.
Firstly, thanks for the great course on PluralSight, your clear and concise teaching style helped me learn a lot in a short time.
I have a question which I don't think was covered in your course. If this isn't the place for questions, please let me know, I'll delete this.
I have a front end SPA that performs half of the OAuth authorisation flow, i.e. it gets the authorization code from Google's OAuth endpoint.
I want to pass this to my spring boot back end and have my back end exchange the code for a token and then establish a user session. Now I can of course do this manually and use the Google API library in Java, but there are a multitude of benefits I can derive by getting spring to do the work for me.
In your course section 'Server-side Applications: Single Sign-in with Oauth2', you show how we can add configuration to our applications, based on which Spring automatically performs the whole authorisation flow for an identity provider like Google. Is there however a well established way that I can customise spring so that it only performs the 'code for token exchange' part of the authorisation flow?
The text was updated successfully, but these errors were encountered: