Creating a new App
Here are the step-by-step instructions for obtaining OAuth credentials for Microsoft:- Go to the Microsoft Azure Portal and sign in to your account.
- Navigate to “Microsoft Entra ID” (formerly Azure Active Directory) from the left-hand menu or the search bar.
- In the left sidebar, click “App registrations”, then click “New registration”.
- Enter a name for your application (e.g., “My App - Dynamic Login”).
- Under “Supported account types”, select “Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)” to support both work/school and personal Microsoft accounts.
- Under “Redirect URI”, select “Web” as the platform and enter the redirect URI provided by Dynamic.
- You can find the Redirect URI in the Dynamic dashboard in either social account linking on the Info Capture page or in the Social Signup page depending on whether you want to do linking or signup.
- Open the Microsoft section of the configuration page.
- Copy the Redirect URL and paste it in the Redirect URI field in Azure.
- Click “Register” to create the application.
- After registration, you will be taken to the app’s Overview page. Copy the “Application (client) ID” — this is your Client ID.
- In the left sidebar, click “Certificates & secrets”, then click “New client secret”.
- Enter a description and choose an expiration period, then click “Add”.
- Copy the secret Value (not the Secret ID) immediately — it will only be shown once. This is your Client Secret.
- Paste both the Client ID and Client Secret into the “Set up Microsoft Auth” modal in the Dynamic Dashboard.
- Click “Confirm”.