How can I log out a user from Office365 and redirect him to my app login page afterwards?
I know I can log out the user using this url:
https://login.microsoftonline.com/logout.srf
But I would like to redirect them to a login in my application after he was log out of office365. How can I do that?
I used this url:
https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri='your_url'
And works perfectly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With