O Auth Using React JS App

Hi Everyone,
I’m trying to create a react app and I have no idea how this Blizzard Oauth works?

I’ve spent almost 5 hours reading the documentation, have’nt figured out anything.

the only thing I’ve got so far is the “code”.

<OauthSender
authorizeUrl=“httpe://us.battle.net/oauth/authorize”
clientId=“Using My Client ID here”
redirectUri=“httpe://localhost:3000/games/”
state={{ from: ‘/settings’ }}
render={({ url }) => Login Using Blizzard}
/>

it’s taking me to the blizzard login page and once I log in, it’s redirecting me back to httpe://localhost:3000/games/ with code next to it, how do I move further, Please suggest.

httpe is not misspelled its http s :slight_smile:
Thanks in Advance.

You ever figure out this problem?

Read up Blizzard Battle.net Developer Portal. Everything you need is in there.

Hope this example will help you.