Skip to content

Commit 074fd0d

Browse files
author
Matt Raible
committed
Add instructions for creating a new account/app in Okta
1 parent bb1f0c8 commit 074fd0d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,12 @@ await appAuth.revokeToken(refreshedState.refreshToken);
348348

349349
Full support out of the box.
350350

351+
> If you're using Okta and want to add App Auth to your React Native application, you'll need an application to authorize against. If you don't have an Okta Developer account, [you can signup for free](https://developer.okta.com/signup/).
352+
>
353+
> Log in to your Okta Developer account and navigate to **Applications** > **Add Application**. Click **Native** and click the **Next** button. Give the app a name you’ll remember (e.g., `React Native`), select `Refresh Token` as a grant type, in addition to the default `Authorization Code`. Copy the **Login redirect URI** (e.g., `com.oktapreview.dev-158606:/callback`) and save it somewhere. You'll need this value when configuring your app.
354+
>
355+
> Click **Done** and you'll see a client ID on the next screen. Copy the redirect URI and clientId values into your App Auth config.
356+
351357
```js
352358
const scopes = ["openid", "profile"];
353359
const appAuth = new AppAuth({

0 commit comments

Comments
 (0)