Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.04 KB

File metadata and controls

47 lines (30 loc) · 1.04 KB

Okta

Banyan uses the Okta SDK for Python to bookmark Services into your Okta SSO catalog.

If you installed pybanyan using pip, get the Okta extra:

$ pip install pybanyan[okta]

Authentication

Create an API token via the Okta Portal.

API tokens inherit the privilege level of the admin account used to create them, so it is a good practice to create a service account with specific privilege level.

Get the token value and note your Org's URL.

Add a section named okta in the ~/.banyan.conf file with your API token:

[banyan]
api_url = ...
refresh_token = ...

[okta]
org_url = https://YOUR_OKTA_DOMAIN
token = YOUR_API_TOKEN

Test

Confirm you are set up correctly by running:

python -m banyan.ext.idp.okta

You should see a list of your Okta applications.

Bookmark

You can now create an Okta bookmark application from a web service:

banyan service bookmark-okta