🗺️
Labs Engineering Guide
HomeStandards
  • Labs Engineering Guide
  • Always Read This First!
  • Product
    • Product Roadmap
    • Planning Your Product
      • Jira
      • User Stories & Tasks
      • Daily Standups
  • Coding
    • Git Workflow
    • Git Rebase
    • Linting and Formatting
    • Environment Variables
  • GitHub
    • Github FAQ
    • GitHub Basics
    • Github Actions
    • Github/Jira Integration
  • AWS
    • AWS Basics
    • AWS Networking
    • Amplify
      • Amplify DNS
      • Amplify Deployment
    • Elastic Beanstalk
      • Elastic Beanstalk DNS
  • Heroku
    • Heroku Basics
    • Heroku Node Deployment
    • Heroku Networking
    • Heroku Pipelines
    • Heroku Review Apps
  • Okta
    • Okta Basics
      • Okta Application Setup
Powered by GitBook
On this page

Was this helpful?

  1. Okta
  2. Okta Basics

Okta Application Setup

PreviousOkta Basics

Last updated 3 years ago

Was this helpful?

Currently only Labs Managers have admin access to Okta. If you have Okta issues, please reach out to your Engineering Manager.

An Okta Application defines a client application that can use the Okta domain for authentication.

The steps below are for setting up an application using the console... hint hint these should all be available via the Okta API, maybe next step would be to write a small script... followed by automation?

Setting up an SPA

Access to the Labs Okta domain is restricted, work with your Engineering Manager for any issues.

  1. Sign-in to the Labs Okta domain as an admin:

  2. "

    • Name: The product name (e.g. Bridgegood)

    • Base URIs: The list of domains to whitelist for CORS (Wildcards not allowed)

      • (For Create React Apps)

    • Login redirect URIs: List of allowed redirect URIs after login (Wildcards allowed)

      • labs://bridgegood/implicit/callback (For iOS Apps)

    • Login redirect URIs: List of allowed redirect URIs after logout (Wildcards allowed)

    • Group assignments

      • Everyone

      • Test Users

    • Grant type allowed

      • ✅ Authorization Code

      • ✅ Implicit

  3. Save

  4. Not done yet, we need to make a couple changes after we save...

  5. Click 'Edit' on the general tab

    • Login initiated by: Either Okta or App

    • ✅ Display application icon to users

    • ✅ Display application icon in the Okta Mobile app

    • ✅ Redirect to app to initiate login

    • Initiate login URI:

  6. For bonus points, click the ✎ on the application icon and add a nice icon for the app

  7. Almost done!

  8. Click 'Trusted Origins' under the 'API' menu

  9. Click 'Add Origin' for each the root domain and each product subdomains:

    • ✅CORS

    • ✅Redirect

  1. Done!

Bridgegood Root:

Bridgegood a:

Bridgegood b:

Bridgegood c:

https://dev-625244.okta.com
Create a new app in Okta as "Single-Page App
http://localhost:3000/
https://bridgegood.dev
https://a.bridgegood.dev
https://b.bridgegood.dev
https://c.bridgegood.dev
https://d.bridgegood.dev
https://e.bridgegood.dev
https://f.bridgegood.dev
https://g.bridgegood.dev
http://localhost:3000/implicit/callback
https://bridgegood.dev/implicit/callback
https://*.bridgegood.dev/implicit/callback
http://localhost:3000
https://bridgegood.dev
https://*.bridgegood.dev
https://bridgegood.dev
https://bridgegood.dev
https://a.bridgegood.dev
https://b.bridgegood.dev
https://c.bridgegood.dev