Posts

Post not yet marked as solved
1 Replies
785 Views
.Hey,I'm working on implementing Apple SSO in my application using the `usePopup` option. However, the returned promise does not seem to contain the `state` parameter that I expect it to based on these docs https://developer.apple.com/documentation/signinwithapplejs/configuring_your_webpage_for_sign_in_with_apple.My init looks like:AppleID.auth.init({ clientId: appleClientId, scope: 'name email', usePopup: true, redirectURI: "redirectUrl", state: JSON.stringify({ param1: "someParam", }), });and on click I doAppleID.auth.signIn().then((authData) => { console.log(authData); });Based on the docs I expect the state to be in the authorization object, but...it's not.
Posted
by hsghori.
Last updated
.