Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
android
app Fix UI output Sep 27, 2019
ios
.buckconfig
.eslintrc.js
.flowconfig
.gitattributes
.gitignore
.prettierrc.js
.watchmanconfig
App.js
README.md
app.json
babel.config.js
index.js
metro.config.js
package-lock.json
package.json
samples.config.js

README.md

Okta iOS Custom Sign In Example

This example shows you how to use the Okta Auth JS to adopt Okta Authentication flow in your app.

Prerequisites

Before running this sample, you will need the following:

Running This Example

To run this application, you first need to clone this repo and then enter into this directory:

git clone git@github.com:okta/samples-js-react-native.git
cd samples-js-react-native/custom-sign-in

Assign your Org URL to url parameter in app/LoginScreen.js file (line #37):

var config = {
  url: 'https://{yourOktaDomain}',
};

Now complete instructions from Browser Sign In Example page.

Using This Example

Enter your credentials and tap the Login button. You can login with the same account that you created when signing up for your Developer Org, or you can use a known username and password from your Okta Directory.

After you complete the login flow, you will be able to see the details of user's account. Tap Get Access Token button to excahnge session token to access token via OIDC SDK.

You can’t perform that action at this time.