Skip to content

Social Logins

Microsoft

To configure Azure App Service and Functions for Microsoft account login, follow these steps:

  1. Go to App registrations in the Azure portal. If needed, sign in with your Microsoft account.
  2. Select New registration, then enter an application name.
  3. Under Supported account types, choose Accounts in any organizational directory (Any Microsoft Enterprise directory - Multitenant) and personal Microsoft accounts (e.g., Skype, Xbox).
  4. In Redirect URIs, select Web, and then enter https://<app-domain-name>/signin-microsoft. Replace <app-domain-name> with the domain name of your app (e.g., https://demos.localmaps.co.nz/demo3/signin-microsoft). Be sure to use the HTTPS scheme in the URL.
  5. Select Register.
  6. Copy the Application (Client) ID and paste this value into the Client ID field in LocalMaps Administrator.
  7. From the left pane, select Certificates & secrets > New client secret. Enter a description, select the validity duration, and select Add.
  8. Copy the Client Secret Value. After you leave the page, it won’t be displayed again. Paste the Client Secret Value in the Client Secret field in LocalMaps.

Google

Any application that uses OAuth 2.0 to access Google APIs must have authorization credentials that identify the application to Google’s OAuth 2.0 server. Follow these steps to create credentials for your project:

  1. Go to the Credentials page.
  2. Click Create credentials > OAuth Client ID.
  3. Select the Web application application type.
  4. Name your OAuth 2.0 client and click Create.
  5. As the redirect URI, put https://<app-domain-name>/signin-google. Replace <app-domain-name> with the domain name of your app (e.g., https://demos.localmaps.co.nz/demo3/signin-google).
  6. After configuration is complete, take note of the Client ID and Secret that was created. You will need to paste these values into LocalMaps as per the steps for Microsoft above.

social logins

Facebook

To configure Facebook Login for your application, follow these steps:

  1. Go to the Meta for Developers dashboard.
  2. Log in with your Facebook account.
  3. Select Create App.
  4. Under Use Cases, select Authenticate and request data from users with Facebook Login.
  5. Complete the setup.
  6. Go to the App Dashboard, and from the left menu, select Use Cases > Authenticate and request data from users with Facebook Login.
  7. Select Settings, and under Valid OAuth Redirect URIs, enter https://<app-domain-name>/signin-facebook. Replace <app-domain-name> with your app domain (for example, https://demos.localmaps.co.nz/demo3/signin-facebook).
  8. Go back to the App Dashboard, and from the left menu, select App Settings > Basic.
  9. Complete any required fields.
  10. After configuration is complete, copy the App ID and App Secret values. Paste these into the Client ID and Client Secret fields in LocalMaps Administrator, as shown in the previous examples.