Skip to content

Commit

Permalink
Merge pull request #30 from sailpoint-oss/feature/switchAuth
Browse files Browse the repository at this point in the history
Update auth names
  • Loading branch information
tyler-mairose-sp authored Sep 26, 2024
2 parents c23c207 + 69adea9 commit 328e951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sailpoint/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,21 +193,21 @@ def auth_settings(self):
"""
auth = {}
if self.access_token is not None:
auth["UserContextAuth"] = {
auth["userAuth"] = {
"type": "oauth2",
"in": "header",
"key": "Authorization",
"value": "Bearer " + self.access_token,
}
if self.access_token is not None:
auth["UserContextAuth"] = {
auth["userAuth"] = {
"type": "oauth2",
"in": "header",
"key": "Authorization",
"value": "Bearer " + self.access_token,
}
if self.access_token is not None:
auth["ApplicationOnlyAuth"] = {
auth["applicationAuth"] = {
"type": "oauth2",
"in": "header",
"key": "Authorization",
Expand Down

0 comments on commit 328e951

Please sign in to comment.