quick-authentication

Microsoft Quick Authentication

| Web| Android | iOS | Web Demo | Android Demo | iOS Demo | Web Live Demos |–|–|–|–|–|–|–|

Microsoft Quick Authentication is a simple way for you to let your users sign up and sign in to your website using a Microsoft Account (MSA). You are likely familiar with similar offerings from other providers (e.g., “Sign in with ____”) and this offering provides that same capability to connect with people who use Microsoft products and cloud services, such as Outlook, OneDrive, Xbox LIVE, and Microsoft 365.

Backed by Microsoft’s robust Microsoft Account (MSA) service, Microsoft Quick Authentication enables you to drop a small snippet of HTML (or JavaScript) into your site to create a sign-in button or prompt for MSA holders. When they click to sign in, our code will securely authenticate them and provide the necessary details to you to sign them in (or register them for a new account).

Microsoft Quick Authentication is a cross-browser solution, but delivers an enhanced user experience in Microsoft Edge when the user’s browser profile is an MSA. These Edge users—which includes users who have signed into Windows with their MSA—are shown a personalized sign in prompt that incorporates their account information.

Documentation

To learn more about Microsoft Quick Authentication for the web, see Sign in Microsoft account users to a single-page app (SPA) with Microsoft Quick Authentication.

To learn more about Microsoft Quick Authentication for Android, see Sign-in users with a Microsoft Account to Android apps using Microsoft Quick Authentication.

To learn more about Microsoft Quick Authentication for iOS, see Sign-in users with a Microsoft Account to iOS apps using Microsoft Quick Authentication.

Sample Code

Click here to access the web live demos, or browse the source code in the web demos folder.

Click here to access the android demos

Click here to access the ios demos

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.