React App with OKTA SSO


I am new to React development and I have a couple of questions.

  1. How do I best go about getting my React app to authenticate a user against our enterprise Okta with SSO/SAML? I have the SPA created, and I have a trusted callback URL etc setup.

  2. I have been able to get to the point where I can use the Okta widget and authenticate but I cannot get past that point.

  3. I don’t really understand the concept of using tokens in a response URL. Perhaps this could be answered in question 1?

If there is a more detailed guide/tutorial that may be able to help get me moving that would be greatly appreciated.

Right now the app is sitting on my local dev machine but eventually would be using Azure as a final resting place.

Am I just approaching this in a wrong manner? Any help is appreciated to get me started on the right path.

I can provide more detail if this is not comprehensive enough.