How to set user profile to session variables by React

I tried Build a React Application with User Authentication in 15 Minutes. It is working well. But I’m beginner at Okta and React. I don’t know how to realize my requreiments.

1. Loing by okta-signin-widget. 2. After login , get user profiles inculding custom profile. 3. Set them to server variables. 4. Redirect to another application(different domain). 5. Another application use them.

I would like to know where the samples/documents are . Please advise me.