ASPasswordCredential - from where?
Asked Answered
K

1

17

When using Sign in with Apple there's an ASPasswordCredential option which will pull the password from the iCloud keychain. I can't find details though on "where" in the keychain you store things. i.e. how do I know what keys to store the user or password details under.

Khajeh answered 28/7, 2019 at 23:38 Comment(0)
G
2

It seems to be connected with Password Auto Fill, which is available since iOS 12 (see section Password-Based Login inside https://developer.apple.com/documentation/authenticationservices). So if your app already has this functionality you could associate existing users with their new Apple ID accounts.

Glaring answered 26/8, 2019 at 13:25 Comment(2)
tried recently. Password Autofill works like if you input your password manually. The only info I found: raywenderlich.com/4875322-sign-in-with-apple-using-swiftui The other possibility, when using Sign In with Apple, is the end user will select credentials which are already stored in the iCloud keychain for the site.Bouncer
The most funny thing is that raywenderlich tutorial's author linked by @VyachaslavGerchicov is the one who asked this question! :DJerid

© 2022 - 2024 — McMap. All rights reserved.