ArcGIS Tutorials by Raul Jimenez (a.k.a. hhkaos)

All levelsBeginnerIntermediate

Tutorials

  • Create and rotate an API key in the portal

    No code. Click through the Developer credentials wizard, then rotate the key with its two slots without downtime. Each screen is mapped to the REST request it feeds.

    Level: BeginnerDuration: 10 minUpdated

    • API keys
    • Create credentials
    • Rotate keys
    • Portal
    • No code
  • Create and rotate an API key with ArcGIS REST JS

    Automate API key creation and rotation in Node.js with createApiKey, updateApiKey and invalidateApiKey, which wrap the four REST requests.

    Level: IntermediateDuration: 15 minUpdated

    • API keys
    • Create credentials
    • Rotate keys
    • Server-side only
    • JavaScript
    • Node.js
  • Create and rotate an API key with the ArcGIS API for Python

    Automate API key creation and rotation in Python or a notebook with the arcgis package (Item.register, Item.generate_api_token), which wraps the four REST requests.

    Level: IntermediateDuration: 15 minUpdated

    • API keys
    • Create credentials
    • Rotate keys
    • Server-side only
    • EuroDevTech26
  • Create OAuth credentials for a backend app in the portal

    No code. Get a client ID and secret limited to the privileges and items your server needs, see why referrers don't protect a backend, and exchange them for a short-lived token.

    Level: BeginnerDuration: 10 minUpdated

    • App Authentication
    • Create credentials
    • Portal
    • No code
  • Authenticate a Python script with OAuth credentials

    Use a client ID and secret from a backend Python script. requests-oauthlib gets the app token and adds it to every request to the REST API.

    Level: IntermediateDuration: 4 minUpdated

    • App Authentication
    • Create credentials
    • Use credentials
    • Server-side only
    • REST API
  • Authenticate a Node.js script with ArcGIS REST JS

    Use a client ID and secret from a backend Node.js script. ApplicationCredentialsManager gets the app token, renews it when it expires and adds it to every request.

    Level: IntermediateDuration: 5 minUpdated

    • App Authentication
    • Create credentials
    • Use credentials
    • Server-side only
    • JavaScript
    • Node.js
    • EuroDevTech26
  • User Auth with the ArcGIS Maps SDK for JavaScript

    Sign users in from a browser app with OAuth 2.0 and PKCE. Register OAuth credentials with a redirect URL, then let IdentityManager handle sign-in, sign-out and tokens.

    Level: IntermediateDuration: 15 minUpdated

    • User Authentication
    • Create credentials
    • Use credentials
    • JavaScript
    • Browser
    • EuroDevTech26
  • Developer Credentials Manager Demo

    Sign in, manage groups and turn API keys into organized content with ArcGIS REST JS, step by step.

    Level: IntermediateDuration: 30-40 minUpdated

    • API keys
    • User Authentication
    • Create credentials
    • Rotate keys
    • Manage credentials
    • JavaScript
    • Browser
    • EuroDevTech26

Esri European Developer and Technology Summit 2026

I delivered six talks at the summit, there are some of the demos.

  • Create and rotate an API key with the ArcGIS API for Python

    Automate API key creation and rotation in Python or a notebook with the arcgis package (Item.register, Item.generate_api_token), which wraps the four REST requests.

    Level: IntermediateDuration: 15 minUpdated

    • API keys
    • Create credentials
    • Rotate keys
    • Server-side only
    • EuroDevTech26
  • Authenticate a Node.js script with ArcGIS REST JS

    Use a client ID and secret from a backend Node.js script. ApplicationCredentialsManager gets the app token, renews it when it expires and adds it to every request.

    Level: IntermediateDuration: 5 minUpdated

    • App Authentication
    • Create credentials
    • Use credentials
    • Server-side only
    • JavaScript
    • Node.js
    • EuroDevTech26
  • User Auth with the ArcGIS Maps SDK for JavaScript

    Sign users in from a browser app with OAuth 2.0 and PKCE. Register OAuth credentials with a redirect URL, then let IdentityManager handle sign-in, sign-out and tokens.

    Level: IntermediateDuration: 15 minUpdated

    • User Authentication
    • Create credentials
    • Use credentials
    • JavaScript
    • Browser
    • EuroDevTech26
  • Developer Credentials Manager Demo

    Sign in, manage groups and turn API keys into organized content with ArcGIS REST JS, step by step.

    Level: IntermediateDuration: 30-40 minUpdated

    • API keys
    • User Authentication
    • Create credentials
    • Rotate keys
    • Manage credentials
    • JavaScript
    • Browser
    • EuroDevTech26

For concepts, best practices, reference documentation and more tutorials, see the official Security and authentication guide.

Looking for the original repos?