Skip to content

Commit e41b8f1

Browse files
committed
Merge branch 'improve-error-message' into dev
2 parents ae7cf14 + 42516f5 commit e41b8f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

msal/authority.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ def canonicalize(authority_or_auth_endpoint):
163163
raise ValueError(
164164
"Your given address (%s) should consist of "
165165
"an https url with a minimum of one segment in a path: e.g. "
166-
"https://login.microsoftonline.com/<tenant> "
167-
"or https://<tenant_name>.ciamlogin.com/<tenant> "
168-
"or https://<tenant_name>.b2clogin.com/<tenant_name>.onmicrosoft.com/policy"
166+
"https://login.microsoftonline.com/{tenant} "
167+
"or https://{tenant_name}.ciamlogin.com/{tenant} "
168+
"or https://{tenant_name}.b2clogin.com/{tenant_name}.onmicrosoft.com/policy"
169169
% authority_or_auth_endpoint)
170170

171171
def _instance_discovery(url, http_client, instance_discovery_endpoint, **kwargs):

0 commit comments

Comments
 (0)