Skip to content

Commit

Permalink
print message
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jun 1, 2024
1 parent 888f2d9 commit 9a13df5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions initialize_idp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
with open('/app/bearer.txt') as f:
token = f.read().strip()
if token is not None:
print("Updating our IDP with a new bearer token")
response = add_provider_to_opa(token, os.getenv("KEYCLOAK_REALM_URL"))
os.remove('/app/bearer.txt')
if get_user_id(None, token=token) is None:
Expand Down

0 comments on commit 9a13df5

Please sign in to comment.