mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 11:42:14 -08:00
1.6 KiB
1.6 KiB
Microsoft Authentication
Authenticating with Microsoft is fully supported by Helios Launcher.
Acquiring an Azure Client ID
- Navigate to https://portal.azure.com
- In the search bar, search for Azure Active Directory.
- In Azure Active Directory, go to App Registrations on the left pane (Under Manage).
- Click New Registration.
- Set Name to be your launcher's name.
- Set Supported account types to Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
- Leave Redirect URI blank.
- Register the application.
- You should be on the application's management page. If not, Navigate back to App Registrations. Select the application you just registered.
- Click Authentication on the left pane (Under Manage).
- Click Add Platform.
- Select Mobile and desktop applications.
- Choose
https://login.microsoftonline.com/common/oauth2/nativeclient
as the Redirect URI. - Select Configure to finish adding the platform.
- Navigate back to Overview.
- Copy Application (client) ID.
Reference: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
Adding the Azure Client ID to Helios Launcher.
In app/assets/js/ipcconstants.js
you'll find AZURE_CLIENT_ID
. Set it to your application's id.
Note: Azure Client ID is NOT a secret value and can be stored in git. Reference: https://stackoverflow.com/questions/57306964/are-azure-active-directorys-tenantid-and-clientid-considered-secrets
You can now authenticate with Microsoft through the launcher.