Skip to content

Commit

Permalink
fixed dynamic mode
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcarmichael-okta committed Sep 21, 2022
1 parent 2696583 commit 15b2a99
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,14 @@ import aiohttp

from okta.client import Client as OktaClient

config = {
'orgUrl': 'https://{yourOktaDomain}',
'token': 'YOUR_API_TOKEN'
}


async def main():
async with OktaClient() as client:
async with OktaClient(config) as client:
# perform all queries within same session
users, okta_resp, err = await client.list_users()
user, okta_resp, err = await client.get_user(users[0].id)
Expand Down
1 change: 1 addition & 0 deletions okta/models/open_id_connect_application_issuer_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ class OpenIdConnectApplicationIssuerMode(

CUSTOM_URL = "CUSTOM_URL", "custom_url"
ORG_URL = "ORG_URL", "org_url"
DYNAMIC = "DYNAMIC", "dynamic"
2 changes: 1 addition & 1 deletion openapi/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ handlebars@^4.7.6:
resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz"
integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
dependencies:
minimist "^1.2.5"
minimist "^1.2.6"
neo-async "^2.6.0"
source-map "^0.6.1"
wordwrap "^1.0.0"
Expand Down

0 comments on commit 15b2a99

Please sign in to comment.