OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

SSO not working in iOS when using AWS Cognito and Azure AD

  • Thread starter Thread starter allanc
  • Start date Start date
A

allanc

Guest
We are using Azure AD as OIDC Identity Provider in AWS Cognito. In iOS side, we use ASWebAuthenticationSession to show a web view and let the user login. User can login successfully but the issue is when opening Safari browser in the iPhone and going to the user's Microsoft account, the user needs to input his/her credentials.

Notes:


Anything we're missing for SSO to work between our app and Safari app?
<p>We are using Azure AD as OIDC Identity Provider in AWS Cognito.
In iOS side, we use <a href="https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession" rel="nofollow noreferrer"><code>ASWebAuthenticationSession</code></a> to show a web view and let the user login. User can login successfully but the issue is when opening Safari browser in the iPhone and going to the user's Microsoft account, the user needs to input his/her credentials.</p>
<p>Notes:</p>
<ul>
<li><a href="https://developer.apple.com/documen...tionsession/prefersephemeralwebbrowsersession" rel="nofollow noreferrer"><code>prefersEphemeralWebBrowserSession</code></a> is set to <code>false</code></li>
<li>We've tried to use older APIs such as <a href="https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller" rel="nofollow noreferrer"><code>SFSafariViewController</code></a> and <a href="https://developer.apple.com/documentation/safariservices/sfauthenticationsession" rel="nofollow noreferrer"><code>SFAuthenticationSession</code></a></li>
<li>We have our own Authorization and SSO is working between our app and Safari.</li>
</ul>
<p>Anything we're missing for SSO to work between our app and Safari app?</p>
Continue reading...
 

Latest posts

B
Replies
0
Views
1
Blundering Ecologist
B
Top