How to implement apple keychain login

Anyone have an idea how to use apple keychain to have suers login with their saved passwords on Apple?

The goal: User opens app → gets prompted to login (either with biometrics or a stored password) → fields are auto populated and user logged in.