pwa-auth sample: prompt
This sample shows how to use pwa-auth in credentialmode="prompt", which prompts the user to sign-in with a saved credential
To see this in action:
- Click Sign In and choose any provider (e.g. Microsoft)
- Once you're signed in, the browser will prompt you to save your sign-in. Choose Save.
- Refresh this page
- Click Sign In again; you'll be prompted to signed-in with your saved credential
Note: credentialmode relies on the new Credential Management APIs, see browser support. Older browsers will fallback to standard OAuth flows.