Hello,
I'm trying to use the apple sign-in script for web.
I can't seem to get it to work and always getting "Invalid response type" when the popup opens.
This is my code:
html
head
/head
body
script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"/script
div id="appleid-signin" data-color="black" data-border="true" data-type="sign in"/div
script type="text/javascript"
AppleID.auth.init({
clientId : '[XXX]',
scope : 'searchads',
response_type: 'code id_token',
redirectURI : '[XXX]',
state : '',
usePopup : true
});
/script
/body
/html
Note that I replace the [XXX] with my real data.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
When developing an app that requires to sign up or login, I heard somewhere that I won't get an approval for the app if I don't implement the ability to login with apple account.
Is that correct?