.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 do
AppleID.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.