Skip to content

Commit

Permalink
Add base_url environment variable detection to context authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Jul 15, 2024
1 parent 435edf7 commit 4c76f11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/falconpy/_auth_object/_falcon_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def __init__(self,
try:
if cvar.cs_cloud:
self._config.base_url = confirm_base_url(cvar.cs_cloud)
else:
self._config.base_url = confirm_base_url(os.getenv(f"CS_CLOUD", "auto"))
except AttributeError:
pass
self._auth_style = "CONTEXT"
Expand Down

0 comments on commit 4c76f11

Please sign in to comment.