Document toolboxDocument toolbox

Security

LocalMaps provides the following options to login to the web tools. Having an identity within LocalMaps allows users to log in to favourite & save maps, access secure content (ArcGIS login only) or if you have administration credentials you can configure the administration tools.

In this section:

Email LocalMaps Support to ask a question or request assistance.

This section outlines the App Id and App Secret for your LocalMaps site.

ArcGIS 

This is set up during the LocalMaps Installation and does not require any further set up from the administrator. 

Facebook

  1. Go to https://developers.facebook.com/apps/ login with the appropriate Facebook Account. Click add a new app and enter your details.

  2. You will be taken to the Facebook app dashboard which provides options to add a Facebook product to your app. Choose Facebook Login. This will add the Facebook Login to the column on the left.

 

3. On the left, go to Products > Facebook Login > Settings.

 

4. Add the redirect URI specific to your LocalMaps site to the Valid OAuth Redirect URIs section using the format:

https://maps.arcgis.com/LocalMapsGallery/signin-facebook

5. Save your changes. Then verify that the URI is valid using the Redirect URI Validator on the bottom of the current page. This will show a green tick if valid.

6. On the left column up the top of the menu, go to Settings > Basic and grab the App ID and App Secret

 

7. Back on the LocalMaps Admin Settings, go to Security and copy and paste the App ID and App Secret on the appropriate fields to enable the Facebook social login for LocalMaps.

Note: The LocalMaps owners (i.e. customers) usually create and manage the social logins through their own Facebook and Google accounts.

Facebook Login Cheatsheet

Facebook Developer Console

https://developers.facebook.com/apps/

Redirect URI Format

https://maps.arcgis.com/LocalMapsGallery/signin-facebook

App ID Example

581472542408721

App Secret Example

a120b5645ff040369848b6df345b8c65

 

Google

1. Get your Google API client ID -

The link given below has the step-by-step instruction for obtaining the google API client ID. At the end, configure the redirect URL in the following format- [gallery_url]/signin-google. (example, https://localmapsdemo.eaglegis.co.nz/PortalGallery232/signin-google)

https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid#get_your_google_api_client_id

The link given below has the step-by-step instruction for configuring your OAuth content screen.

https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid#configure_your_oauth_consent_screen

This should help you enable google signing for your LocalMaps site. For more information, please refer - Setup  |  Authentication  |  Google for Developers