Azure-Samples / ms-identity-python-webapp

A Python web application calling Microsoft graph that is secured using the Microsoft identity platform
MIT License
279 stars 133 forks source link

after successful authentication, how to redirect users to the same page from which they started #117

Closed duduniao closed 3 months ago

duduniao commented 8 months ago

Redirect URIs are fixed, how to implement this function?

rayluo commented 8 months ago

This sample does not currently support this behavior out of the box. Marking this as an enhancement request, for now. You can subscribe/watch this repo for its future releases.

Basically, we will need to use a state mechanism to store the url of the page to be redirected into.

rayluo commented 3 months ago

This will be achieved as a byproduct of merging in #136