Reputation: 41
After submitting app to windows store, our app is rejected with the following message.
"We were unable to launch your app from the 'My Apps' launcher. When we launch your app from the My Apps launcher, during an authenticated O365 session, we are prompted to re-authenticate to your app."
What we did is, once the user logs into our app with o365 credentials, our app gets added to user's O365 my apps dashboard. When the user clicks on, our app in O365 launcher it launches the login page of our app instead of automatic login.
Step-by-step:
Now the problem we are facing is, once the user clicks on our app in step-7 he is again asked to login, we are not able to send any session information on app click. We are using open ID protocol for SSO.
Kindly guide us how to maintain session in such scenario. Thanks a lot in advance.
Upvotes: 3
Views: 1026
Reputation: 2030
One thing that might be missed here is when you register your app with Active Directory, you used the main login page for SIGN-ON URL, aka, http://portal.myedutor.com/users/sign_in.
However, in order to directly redirect you to the Office 365 login page, you should use Office 365 redirect URL in this case.
For example, when I was testing it locally, I make sure I used localhost:xxxx/account/singin for my SIGN-ON URL, like below,
Upvotes: 1