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.
A mechanism for generating requests to perform keychain credential sharing. Current page is ASPasswordCredential. Apple. Developer.
Add your Apple ID account and assign the target to a team so Xcode can enable the Sign in with Apple capability with your provisioning profile. Choose a run destination from the scheme pop-up menu that you're signed into with an Apple ID and that uses Two-Factor Authentication.
The PasswordCredential constructor creates a new PasswordCredential object. In supporting browsers, an instance of this class may be passed the credential from the init object for global fetch. iconURL: (Optional) the URL of a user's avatar image.
iconURL: (Optional) the URL of a user's avatar image. A reference to an HTMLFormElement with appropriate input fields. The form should, at the very least, contain an id and password. It could also require a CSRF token. This example shows how to set up an HTMLFormElement to caputure data which we'll use to create a PasswordCredential object.
There may also be large incompatibilities between implementations and the behavior may change in the future. The PasswordCredential constructor creates a new PasswordCredential object. In supporting browsers, an instance of this class may be passed the credential from the init object for global fetch.
When you debug your application locally, on the other hand, managed identity or environment variables could not be available. We will talk about each of these types of credentials from bottom to the top in the following sections.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With