Skip to content

This is a basic Flask app that allows support engineers to manage Okta users without using the Okta console where they may have too many permissions for other areas. It uses an Okta OpenID connect application for authentication.

License

Notifications You must be signed in to change notification settings

robzino/okta-portal

Repository files navigation

okta-portal 2.0f

This is a basic Flask app that allows support engineers to manage Okta users without using the Okta console where they may have too many permissions for other areas. It uses an Okta OpenID connect for authentication.

Refer to: https://www.okta.com/free-trial/workforce-identity to create a free trial account.

Steps to create a new application in Okta are here: https://help.okta.com/en-us/Content/Topics/Apps/Apps_App_Integration_Wizard_OIDC.htm

Steps to create an Okta API key are here: https://support.okta.com/help/s/article/How-do-I-create-an-API-token?language=en_US

You need 2 variables: TOKEN (Okta API Token) and URLBASE (ex: 'https://YOURNAME.okta.com')

(Make sure the Okta token is a user with Super admin privileges)

Steps:

  1. After you log into your Okta trial account, create a new OIDC - OpenID Connect application
  2. When creating a new Okta app, select the "Client authentication" option and save off the client id and the client secret. Use the "Okta App Settings.png" screenshot file for help.
  3. Edit the file "client_secrets.json" and add the Okta secret and URL information
  4. Edit the "go" script and add your TOKEN and URLBASE variables
  5. Run the "go" script
  6. You can now add users to this application. Refer to: https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-assign-apps.htm

By default it will run on port 5000.

About

This is a basic Flask app that allows support engineers to manage Okta users without using the Okta console where they may have too many permissions for other areas. It uses an Okta OpenID connect application for authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published