Sign in with Apple JS

RSS for tag

Provide users with a fast, secure way to sign into your web service with their Apple ID using Sign in with Apple JS.

Posts under Sign in with Apple JS tag

130 Posts

Post

Replies

Boosts

Views

Activity

Invalid_uri , configuring Webpage for apple sign in
Hi below is my code , I am getting invalid uri , I really need this to work , can someone please help ? I went through all the articles nothing worked Under the Service ID configuration domain : api.oro.art return URL : https://api.oro.art:3000 let init = function(){ console.log("APP START FOR APPLE"); window.AppleID.auth.init({ clientId : 'art.oro.services', scope : 'name email', redirectURI : 'https://api.oro.art:3000', state : 'openssl_random_pseudo_bytes', usePopup: true }); console.log("Got to the end"); }
0
0
494
Oct ’21
Apple Store Rejection due to sign in with apple issue
Our iOS app rejected by apple store saying, "We discovered one or more bugs in your app. Specifically, your app displays an error message when we logged in via Sign in with Apple. Please review the details below and complete the next steps." However, our app uses our company’s own account setup and sign-in systems (OpenID Identity Provider). As per the Apple store review guideline 4.8, we don't need to include sign in with apple option. In our company's own account setup and sign-in system integrated all third-party login (Facebook, google etc.) and sign in with apple too. But in order to sign into the app, specific email should be authenticated from our company user pool. If user (email address) not exist in the user pool, user may receive error message saying, You don't have required permission Please help on approval process. Are there any guideline violations?
0
0
1.1k
Aug ’21
Sign in with Apple - Unifying user sign in coming from two service ids under different teams
I've read in the documentation the private relay and user identifier (sub) are team scoped. If I have 2 or more teams that have their separate Sign in with Apple service ids configured, each under their own (separate) team account is there any way to unify these into one common service id so that the team-scoped user identifier is the same whether the user signs in through Team1-AppleServiceId1 or Team2-AppleServiceId2?
0
0
603
Aug ’21
web apple sign in Invalid web redirect url.
I hava try different scope (eg: openid,name, emial),but also Invalid web redirect url. <meta name="appleid-signin-client-id" content="jp.g123.h5"> <meta name="appleid-signin-scope" content="name"> <meta name="appleid-signin-redirect-uri" content="https://h5.local.g123.jp/auth/v1/apple/callback"> <meta name="appleid-signin-state" content="g123"> when I click the signin button I got a pop and the url is https://appleid.apple.com/auth/authorize?client_id=jp.g123.h5&redirect_uri=https://h5.local.g123.jp/auth/v1/apple/callback&response_type=code id_token&state=g123&scope=name&response_mode=web_message&frame_id=fa5459d2-79d7-4def-8a80-91211476ba96&m=22&v=1.5.3
2
0
4.8k
Jul ’21
apple sign about
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src I am implementing apple login with apple js, but if there is an error on the apple login screen, is there no email or name in the user information in the result after successful login?
0
0
539
Jul ’21
Sign In With Apple JS nonce error
I am trying to figure out how to configure sign in with apple in JS and no matter what I do I keep running into this same issue: "app.js:231 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https://*.apple.com https://*.cdn-apple.com ". Either the 'unsafe-inline' keyword, a hash ('sha256-6wRdeNJzEHNIsDAMAdKbdVLWIqu8b6+Bs+xVNZqplQw='), or a nonce ('nonce-...') is required to enable inline execution." I don't understand why no matter what I do that this keeps coming up. I pass in a nonce and I still get this error. <meta name="appleid-signin-client-id" content="{ID}"> <meta name="appleid-signin-scope" content="name email"> <meta name="appleid-signin-redirect-uri" content="{URL}"> <meta name="appleid-signin-nonce" content="nonce-2726c7f26c"> <meta name="appleid-response-mode" content="formpost"> <meta name="appleid-signin-use-popup" content="true"> I keep trying to pass in different values for nonce just to get the window working but I keep running into a screen that says "invalidrequest" and that error I put above. I don't understand how best to generate a nonce inline like this but I was hoping just to get it working one time to prove the concept. Assistance would be much appreciated.
10
0
5.0k
Jun ’21
Invalid_uri , configuring Webpage for apple sign in
Hi below is my code , I am getting invalid uri , I really need this to work , can someone please help ? I went through all the articles nothing worked Under the Service ID configuration domain : api.oro.art return URL : https://api.oro.art:3000 let init = function(){ console.log("APP START FOR APPLE"); window.AppleID.auth.init({ clientId : 'art.oro.services', scope : 'name email', redirectURI : 'https://api.oro.art:3000', state : 'openssl_random_pseudo_bytes', usePopup: true }); console.log("Got to the end"); }
Replies
0
Boosts
0
Views
494
Activity
Oct ’21
Clarification: How can I support the "Sign in with Apple" in below 12 iOS versions
I need to know how can I support the Sign in with apple in lower versions. Shall I need to create any web and then set this in app's button to launch the web in side the app? What are the easiest way to make this as working condition. Note: We have backened support to make this as workable one.
Replies
0
Boosts
0
Views
561
Activity
Oct ’21
AppleJS & MusicKit JS
Is it possible to exchange applejs authentication code for a music user token? Basically - Is it possible to use apple signin with music kit without users needing to sign in twice to apple?
Replies
1
Boosts
0
Views
1.2k
Activity
Oct ’21
Apple Store Rejection due to sign in with apple issue
Our iOS app rejected by apple store saying, "We discovered one or more bugs in your app. Specifically, your app displays an error message when we logged in via Sign in with Apple. Please review the details below and complete the next steps." However, our app uses our company’s own account setup and sign-in systems (OpenID Identity Provider). As per the Apple store review guideline 4.8, we don't need to include sign in with apple option. In our company's own account setup and sign-in system integrated all third-party login (Facebook, google etc.) and sign in with apple too. But in order to sign into the app, specific email should be authenticated from our company user pool. If user (email address) not exist in the user pool, user may receive error message saying, You don't have required permission Please help on approval process. Are there any guideline violations?
Replies
0
Boosts
0
Views
1.1k
Activity
Aug ’21
Sign in with Apple - Unifying user sign in coming from two service ids under different teams
I've read in the documentation the private relay and user identifier (sub) are team scoped. If I have 2 or more teams that have their separate Sign in with Apple service ids configured, each under their own (separate) team account is there any way to unify these into one common service id so that the team-scoped user identifier is the same whether the user signs in through Team1-AppleServiceId1 or Team2-AppleServiceId2?
Replies
0
Boosts
0
Views
603
Activity
Aug ’21
web apple sign in Invalid web redirect url.
I hava try different scope (eg: openid,name, emial),but also Invalid web redirect url. <meta name="appleid-signin-client-id" content="jp.g123.h5"> <meta name="appleid-signin-scope" content="name"> <meta name="appleid-signin-redirect-uri" content="https://h5.local.g123.jp/auth/v1/apple/callback"> <meta name="appleid-signin-state" content="g123"> when I click the signin button I got a pop and the url is https://appleid.apple.com/auth/authorize?client_id=jp.g123.h5&redirect_uri=https://h5.local.g123.jp/auth/v1/apple/callback&response_type=code id_token&state=g123&scope=name&response_mode=web_message&frame_id=fa5459d2-79d7-4def-8a80-91211476ba96&m=22&v=1.5.3
Replies
2
Boosts
0
Views
4.8k
Activity
Jul ’21
How can I find out if a user rejects authentication using touch id?
Hi! I have a question. How can I find out if a user rejects authentication using touch id? Is there something "touch id failure" for javascript event? I would like to subscribe to this event and process the rejection in my web application. Thank you
Replies
0
Boosts
0
Views
726
Activity
Jul ’21
apple sign about
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src I am implementing apple login with apple js, but if there is an error on the apple login screen, is there no email or name in the user information in the result after successful login?
Replies
0
Boosts
0
Views
539
Activity
Jul ’21
Sign in with Apple JS - is Slovenian locale not supported?
Hello, We have integrated the social login with Apple. It works fine with almost all the locale, but if we use sl_SI, we get a 404. https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/sl_SI/appleid.auth.js Is Slovenian locale not supported? Thanks, Bea
Replies
0
Boosts
0
Views
498
Activity
Jun ’21
Sign In With Apple JS nonce error
I am trying to figure out how to configure sign in with apple in JS and no matter what I do I keep running into this same issue: "app.js:231 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https://*.apple.com https://*.cdn-apple.com ". Either the 'unsafe-inline' keyword, a hash ('sha256-6wRdeNJzEHNIsDAMAdKbdVLWIqu8b6+Bs+xVNZqplQw='), or a nonce ('nonce-...') is required to enable inline execution." I don't understand why no matter what I do that this keeps coming up. I pass in a nonce and I still get this error. <meta name="appleid-signin-client-id" content="{ID}"> <meta name="appleid-signin-scope" content="name email"> <meta name="appleid-signin-redirect-uri" content="{URL}"> <meta name="appleid-signin-nonce" content="nonce-2726c7f26c"> <meta name="appleid-response-mode" content="formpost"> <meta name="appleid-signin-use-popup" content="true"> I keep trying to pass in different values for nonce just to get the window working but I keep running into a screen that says "invalidrequest" and that error I put above. I don't understand how best to generate a nonce inline like this but I was hoping just to get it working one time to prove the concept. Assistance would be much appreciated.
Replies
10
Boosts
0
Views
5.0k
Activity
Jun ’21