When using the interactive_sample.py for my Azure AD FS server using the PKCE flow, the oauth2.py method _obtain_token() does not inject an Origin header as required by our Application tenant token endpoint, so I wound up hardcoding an origin header with a value of http://localhost:8000 just to get it to work. Could this be made a configuration value?
Also, it would be nice if the browser tab opened by authcode.py method _browse could be closed on success so as not to annoy users.
When using the
interactive_sample.pyfor my Azure AD FS server using the PKCE flow, theoauth2.pymethod_obtain_token()does not inject anOriginheader as required by our Application tenant token endpoint, so I wound up hardcoding an origin header with a value ofhttp://localhost:8000just to get it to work. Could this be made a configuration value?Also, it would be nice if the browser tab opened by
authcode.pymethod_browsecould be closed on success so as not to annoy users.