Skip to content

Commit 1fbdd0c

Browse files
committed
fix: update default iam url to omit path
1 parent c4733f8 commit 1fbdd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibm_cloud_sdk_core/iam_token_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class IAMTokenManager(JWTTokenManager):
6060
scope: The "scope" to use when fetching the bearer token from the IAM token server.
6161
This can be used to obtain an access token with a specific scope.
6262
"""
63-
DEFAULT_IAM_URL = 'https://iam.cloud.ibm.com/identity/token'
63+
DEFAULT_IAM_URL = 'https://iam.cloud.ibm.com'
6464
CONTENT_TYPE = 'application/x-www-form-urlencoded'
6565
OPERATION_PATH = "/identity/token"
6666
REQUEST_TOKEN_GRANT_TYPE = 'urn:ibm:params:oauth:grant-type:apikey'

0 commit comments

Comments
 (0)