Sign-In-with-Apple-Demo icon indicating copy to clipboard operation
Sign-In-with-Apple-Demo copied to clipboard

Never shows as authenticated

Open gavitron1 opened this issue 6 years ago • 4 comments
trafficstars

After logging in the first time and rerunning the app, credentials state is never .authorized and so doesn't log you in on app open.

This is the error that it shows.

2019-08-12 13:37:40.229003-0600 SignInWithAppleDemo[44007:12475950] [core] Authorization failed: Error Domain=AKAuthenticationError Code=-7001 "(null)" UserInfo={AKClientBundleID=com.example.apple-samplecode.juice}

gavitron1 avatar Aug 12 '19 19:08 gavitron1

After logging in the first time and rerunning the app, credentials state is never .authorized and so doesn't log you in on app open.

This is the error that it shows.

2019-08-12 13:37:40.229003-0600 SignInWithAppleDemo[44007:12475950] [core] Authorization failed: Error Domain=AKAuthenticationError Code=-7001 "(null)" UserInfo={AKClientBundleID=com.example.apple-samplecode.juice}

me too !!!the demo of apple supply is also don't work

yuxiaoxi avatar Aug 22 '19 09:08 yuxiaoxi

Hi, You've to register a new application in your apple developer account. Then replace the current bundle identifier with your newly created application identifier.

vineetchoudhary avatar Aug 22 '19 10:08 vineetchoudhary

How do you guys manage to make the logout listener work? I made an observer for detecting the credentialState of the userID

rhenz avatar Sep 11 '19 09:09 rhenz

Hi, You've to register a new application in your apple developer account. Then replace the current bundle identifier with your newly created application identifier.

@vineetchoudhary This is also happening with my production app.

Scratch that, works on a real device, but not in simulator.

adamirowe avatar Mar 06 '20 16:03 adamirowe