We provide a web app which currently offers SSO to Office 365. This works great as follows:
- User hits our website
- User selects "Sign in with Office 365"
- Office 365 authentication window launches
- User enters O365 credentials and is authenticated by O365
- We receive token and authenticate the user.
As I say this works fine. However we have noticed that if a user is already authenticated into O365 and then selects our app from the My Apps Launcher they receive the O365 authentication window and they have to authenticate again (which they shouldn't as their already logged into O365).
We've reviewed this page a bunch of times: https://msdn.microsoft.com/en-us/office/office365/howto/connect-your-app-to-o365-app-launcher
It suggests that what we want to do is possible: "The app launcher initiates sign-on to the sign-on URL for the application" however we can't find any documentation on how to discover the cached credentials for the currently authenticated user.