jmelberg / okta-widget-angular

Examples using Okta's Sign-In Widget with Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Okta's Sign-In Widget and AuthJS SDK with AngularJS

Implementation of Okta's Sign-In Widget and AuthJS using AngularJS 1

###Samples Provided

Running the Sample with your Okta Organization

###Pre-requisites This sample application was tested with an Okta organization. If you do not have an Okta organization, you can easily sign up for a free Developer Okta org.

  1. Verify OpenID Connect is enabled for your Okta organization. Admin -> Applications -> Add Application -> Create New App -> OpenID Connect
  1. In the Create A New Application Integration screen, click the Platform dropdown and select Single Page App (SPA)
  2. Press Create. When the page appears, enter an Application Name. Press Next.
  3. Add http://localhost:8080 to the list of Redirect URIs
  4. Click Finish to redirect back to the General Settings of your application.
  5. Copy the Client ID, as it will be needed for the Okta AuthSDK client configuration.
  6. Enable CORS access to your Okta organization
  7. Finally, select the People tab and Assign to People in your organization.

Build Instructions

Once the project is cloned, install node.js on your machine. Using npm install http-server.

$ npm install http-server -g

Usage: $ http-server [path] [options]

Start the web server with http-server $ http-server [path] [options]

[path]is the directory of the sample (e.g. $ http-server path/to/login-widget/)

Navigate to http://localhost:8080/ to sign in.

About

Examples using Okta's Sign-In Widget with Angular

License:Other


Languages

Language:JavaScript 63.0%Language:HTML 37.0%