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]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_TOKENConfirm you are set up correctly by running:
python -m banyan.ext.idp.oktaYou should see a list of your Okta applications.
You can now create an Okta bookmark application from a web service:
banyan service bookmark-okta