From 8e1ad00f70a872313db68eba3b19cacddd61455c Mon Sep 17 00:00:00 2001 From: Nathan Walsh Date: Tue, 3 Mar 2020 14:03:10 -0800 Subject: [PATCH] allow passing more parameters when generating auth uri --- msal/application.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msal/application.py b/msal/application.py index 01f25461..f0866230 100644 --- a/msal/application.py +++ b/msal/application.py @@ -247,6 +247,7 @@ def get_authorization_request_url( You will have to specify a value explicitly. Its valid values are defined in Open ID Connect specs https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest + :param kwargs: Other parameters, typically defined in OpenID Connect. :return: The authorization url as a string. """ """ # TBD: this would only be meaningful in a new acquire_token_interactive() @@ -276,6 +277,7 @@ def get_authorization_request_url( redirect_uri=redirect_uri, state=state, login_hint=login_hint, prompt=prompt, scope=decorate_scope(scopes, self.client_id), + **kwargs ) def acquire_token_by_authorization_code(