Authentication Services

RSS for tag

Improve the experience of users when they enter credentials to establish their identity using Authentication Services.

Authentication Services Documentation

Posts under Authentication Services tag

71 Posts
Sort by:
Post not yet marked as solved
0 Replies
465 Views
We're seeing Chrome browser crashing after using ASWebAuthenticationSession to authenticate. While the authentication succeeds, all the user's browser tabs are terminated and upon re-opening Chrome, it shows a popup message: "Chrome didn’t shut down correctly". System logs indicates that Chrome crashed (core dumped) with a Security Exception with macOS error code -67052.
Posted
by danxiangl.
Last updated
.
Post not yet marked as solved
0 Replies
414 Views
I know that ASWebAuthenticationSession usually is used with OAuth and similar protocols, but now I' interested, does ASWebAuthenticationSession supports other auth types? I've made such tests (iOS 14.5, Xcode 12.5.1): Tested ASWebAuthenticationSession with kerberos/negotiate URL (with callback scheme http) - SFSafariViewController loads error page with 401 error and no alert for creds; completion handler of ASWebAuthenticationSession is not called; Tested ASWebAuthenticationSession with NTLM, Digest and Basic URLs (with callback scheme http) - SFSafariViewController shows alert for creds; with correct creds content is shown; completion handler of ASWebAuthenticationSession also is not called; Performed the same test with SFSafariViewController - same results. Do I understand correctly, that ASWebAuthenticationSession doesn't support such auth types, but SFSafariViewController supports them? Why SFSafariViewController doesn't show alert for creds in case of kerberos/negotiate auth?
Posted
by DenisZorg.
Last updated
.
Post marked as solved
14 Replies
1.8k Views
Hi, I'm trying to integrate 'Sign in with Apple' in my application. I have my app identifier: 'com.ameedsayeh.apple' with 'sign in with apple' capability enabled for that app. 2. then I created Service ID to use: 'com.ameedsayeh.apple.signin' and configured the service to the app identifier above. 3. I created a key for the app. Now each time I try to GET this url PLAIN https://appleid.apple.com/auth/authorize? response_type=code & response_mode=form_post & client_id=com.ameedsayeh.apple.signin & redirect_uri=my_api_end_point & state=319a1fefa4 & scope=name+email I keep getting invalid_client message and I've been trying since yesterday! I tried recreating many apps, services, keys over and over again but with no success. I also tried to do it via AWS Amplify Cognito and it's showing the same. This is the PHP code I use to create the URL for testing ?php session_start(); $redirect_uri = 'end_point'; $client_id = 'com.ameedsayeh.apple.signin'; $_SESSION['state'] = bin2hex(random_bytes(5)); $authorize_url = 'https://appleid.apple.com/auth/authorize'.'?'.http_build_query([ 'response_type' = 'code', 'response_mode' = 'form_post', 'client_id' = $client_id, 'redirect_uri' = $redirect_uri, 'state' = $_SESSION['state'], 'scope' = 'name email', ]); echo $authorize_url; echo 'a href="'.$authorize_url.'"Sign In with Apple/a'; ? This is really disappointing and blocking, please help!
Posted
by ASayeh.
Last updated
.
Post not yet marked as solved
0 Replies
208 Views
Have a parent app where user would login using SAML and there are apps of different vendors installed on the same device. We would like to use the same SAML login session with other vendor apps as well. Is this flow possible to implement? Any pointers will be of great help. Thank you in advance.
Posted Last updated
.
Post not yet marked as solved
3 Replies
1.1k Views
We are using an ASWebAuthenticationSession to authenticate using an already logged in session in Safari. This works fine on real hardware. In Simulator from iOS13.5, the callback URL is always missing the session ID which indicates that ASWebAuthenticationSession couldn't access the cookies. We are not using session cookies. As documented here: https://developer.apple.com/documentation/authenticationservices/authenticating_a_user_through_a_web_service Does anyone have any suggestion how to debug this and figure out if the problem is on our side or iOS side?
Posted
by anders.u.
Last updated
.
Post not yet marked as solved
0 Replies
333 Views
Hi devs Hope we are all well. So I have found what could be a bug in Sign In With Apple and Firebase recently and im not sure if its actually my code or a bug. So when I SIWA I can auth correctly and get users name, create credential etc all this works, problem arises when I try to SIWA after removing the account. The credential is removed from Firebase Auth but when I try to SIWA it presents the ReAuth view not the New Auth SIWA view. After investigation into my iCloud account it shows as my app is still authorised to user SIWA even though the account is deleted on Firebase. This is seen in: iCloud > Password & Security > Apps Using Apple ID So I am wondering if this is a bug or my code. I have followed all relevant Firebase and Sign In With Apple references and the integration guide on Firebase but the iCloud part still remains after he account is removed from Firebase Auth. So how do I remove this from iCloud? Thanks
Posted
by JMcA86.
Last updated
.
Post not yet marked as solved
0 Replies
324 Views
I am working on an a Game that authenticates user either through Game Center or Anonymously through Firebase. I want to reward player through codes that he can redeem online. I wanted to know if it is possible to get an Email ID once a player has logged in though Game Center. I can ask user to provide one while I do the same thing on Play Games. Please advice.
Posted Last updated
.