Post

Replies

Boosts

Views

Created

Getting "Invalid response type" when using sign-in web (JS)
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.
0
0
800
May ’21