HERE Technologies LogoHERE
how-to
Community

12 min read

04 August 2026

Identity & Access Management (IAM): Developer Insights and Best Practices

IAM

Whether you're prototyping your first HERE integration or managing enterprise deployments across multiple environments, understanding the HERE Identity & Access Management (IAM) model helps you avoid common authentication errors and reduce security risk.

This article compiles the most frequently asked IAM questions from the HERE developer community, along with the recommended practices behind each answer.



How do I choose between API Keys and OAuth 2.0?

Choosing the right authentication method depends on where your application runs and the level of security it requires.

Application

Recommended authentication

Quick prototypes

API Key

Browser applications

API Key + Trusted Domains

Server-side applications

OAuth 2.0

Applications accessing HERE Platform resources

OAuth 2.0


Best practices
  • Use API Keys for simple applications and rapid prototyping.

  • Protect browser-based applications by restricting API Keys with Trusted Domains.

  • Use OAuth 2.0 for backend services where credentials can remain secure.

  • When accessing HERE Platform resources such as catalogs, pipelines or other IAM-managed resources, use

    OAuth 2.0 authentication.

Takeaway

API Keys are simple to set up and well suited for client-side applications, while OAuth 2.0 provides stronger authentication and better credential management for production and enterprise workloads. [MV1] [PP2] Keep in mind that some HERE APIs and Platform services support only OAuth 2.0 authentication and cannot be accessed using API Keys. Always check the authentication requirements for the specific API or service you're integrating. Learn more


How do I generate an OAuth 2.0 access token?

A common question is why an application that successfully authenticates with an API Key fails when requesting an OAuth 2.0 access token. Although both authentication methods can be configured for the same app, OAuth 2.0 requires its own set of credentials and authentication flow.

Before troubleshooting, verify the following:
  • You're using the app's OAuth 2.0 credentials (Access Key ID and Access Key Secret), not the API Key.

  • The token request is sent to the correct endpoint:

https://account.api.here.com/oauth2/token

  • The request includes the required Authorization header generated from your OAuth credentials.

  • The request uses the client_credentials grant type.

  • The Content-Type header is set to application/x-www-form-urlencoded.

If token requests continue to fail:
  • Double-check that you're using OAuth credentials generated for the same app.

  • Verify the request format against the official examples.

  • Review the returned error code and message, as they often indicate the root cause—for example, a missing Authorization header, invalid credentials, or an invalid OAuth signature.

Takeaway

Successfully calling HERE APIs with an API Key doesn't guarantee that an OAuth token request is correctly configured. API Keys and OAuth 2.0 use different authentication mechanisms and credentials, so it's important to follow the appropriate flow for your application. Learn more about this in the FAQ and Manage Apps and Credentials documentation.



How do I authenticate securely without exposing credentials?

Instead of embedding API Keys in client applications:
• Use OAuth 2.0 Bearer Tokens
• Call HERE APIs from your backend
• Keep secrets on the server

Takeaway

Production applications should never expose sensitive credentials in client-side code whenever possible. HERE recommends obtaining OAuth access tokens on the server and using bearer tokens for authenticated requests. Learn more



How do I find, generate, or regenerate an API Key?

API credentials can be managed through Access Manager. Navigate to: Access Manager → Apps → Credentials. From there you can:

Takeaway

OAuth credentials can also be generated from the same Credentials page. Rotate credentials periodically and immediately replace compromised API keys. Learn more



What should I do if my API key is compromised?


Immediately:
  • Revoke the compromised API key

  • Generate a replacement API key

  • Update your application to use the new key

  • Review recent usage for any unauthorized activity

To help prevent future incidents:
  • Restrict browser-based API Keys using Trusted Domains where applicable.

  • Consider using OAuth 2.0 for server-side applications, where credentials can be kept confidential.

Takeaway

Respond quickly by replacing compromised credentials, then strengthen your authentication strategy to reduce the risk of future exposure.


How can I securely rotate credentials without downtime?

For production applications, rotating API keys should be a regular security practice rather than a one-time response to a compromised credential.

Recommended approach

Use a staged rollout:

  • Generate a new API key

  • Update your application or deployment to use the new key

  • Verify that authentication succeeds

  • Revoke the old key only after confirming the new key is in use

For larger deployments, you can automate this process using the Identity and Access Management Authentication API v1.1. The API lets you:

  • List an application's existing API keys

  • Generate a new API key

  • Delete obsolete keys

  • Integrate key rotation into deployment pipelines or scheduled automation

A common pattern is to use a dedicated management app with OAuth 2.0 credentials to manage API keys for other applications, rather than using the application's own credentials.

Takeaway

Automating API key rotation reduces operational overhead while minimizing the risk of credential exposure. Learn more



Why am I getting authentication or authorization errors?


Common causes include:
  • Invalid or disabled API key

  • Expired OAuth access token

  • Invalid OAuth signature or credentials

  • Missing permissions on the requested resource

  • Resource not linked to the current project

  • Missing project or organization entitlements

  • Incorrect authentication method

Troubleshooting checklist:
  • Verify the credential

  • Confirm the correct authentication method

  • Check token expiration

  • Review application permissions

  • Check the error response's cause field, which often explains exactly why access was denied

Takeaway

Most authentication failures are caused by expired or incorrectly configured credentials rather than platform issues. If the response contains a detailed cause field, it often explains exactly why access was denied. For example, missing permissions, missing project links, expired subscriptions, or missing cross-realm trust. Learn more



How should I organize applications for different environments?

Avoid using the same credentials across development, testing, and production. Instead, create separate apps for:

  • Development

  • Testing

  • Production

This improves security and simplifies credential management.

Takeaway

Environment-specific apps reduce operational risk and make deployments easier to manage.



What's the difference between organizations, groups, projects and apps?

Understanding the IAM hierarchy helps simplify access management.

  • Organization: contains users, groups, projects and applications. Defines the overall security boundary

  • Groups: simplify permission management

  • Projects: organize HERE Platform resources such as catalogs and pipelines

  • Services apps: provide the credentials your applications use to authenticate

Takeaway

Using the right IAM structure makes large deployments easier to secure and maintain. Learn more



How do I enable Single Sign-On (SSO) for my organization?

A common question in the community is why the Configure SSO option is unavailable even when the user is an Organization Admin. Being an Organization Admin is mandatory, but it isn't the only requirement.

To configure SAML-based Single Sign-On, your organization must also be eligible for the feature. At the time of writing, SSO is available to:

  • Organizations with Premium Support or Premium Success

  • Platinum Partners

  • Gold Partners with the SSO premium add-on

If your organization is on an Essential or Advanced Support plan, the SSO option won't be available, even if you're an Organization Admin.

Troubleshooting checklist:
  • Verify that you're an Organization Admin

  • Confirm that your organization is subscribed to an eligible support plan

  • If your organization is eligible but SSO is still unavailable, contact HERE Support

Takeaway

Organization Admin permissions allow you to configure SSO, but your organization must also have the required subscription entitlement. More information here in IAM Documentation



Is there a limit to how many apps a group can access?

Organizations managing a large number of applications may eventually encounter limits when assigning IAM permissions. By default, groups and users can only be associated with a limited number of apps. If you receive a "limit reached" error while granting access, you've likely reached one of the default IAM limits.

For organizations with large-scale deployments, HERE offers Premium IAM features that can increase these default limits.

Recommended approach:
  • Design your IAM structure with future growth in mind

  • Use Groups to simplify permission management rather than assigning users individually

[h5]]Takeaway[[/h5]]

Default IAM limits are sufficient for most organizations, but if your organization expects to manage hundreds of apps, discuss Premium IAM limits with your HERE account representative.



Can I use multiple API Keys to increase my rate limits?

No. Creating multiple API Keys doesn't increase your service quotas. Usage limits are determined by your account, subscription or service plan rather than by the number of API Keys.

Takeaway

Multiple API Keys help organize applications, not bypass platform limits. If you need to inspect or manage configured rate limits programmatically, use the Rate Limit Rules API. Learn more



How do I view my rate limit rules?

If you need to inspect the rate limits configured for an application or identity, you can use the Rate Limit Rules API. A few common pitfalls when calling this API are:

  • Authenticate using an OAuth 2.0 access token rather than an API Key

  • Use the correct Rate Limit Rules API endpoint

  • URL-encode the identityHrn value when including it in the request path

For example, an identity HRN such as:

hrn:here:authorization::orgid:app/my-app

must be URL-encoded before being sent as part of the request.

Takeaway

When working with IAM management APIs, always verify the required authentication method and ensure HRNs are correctly URL-encoded before making requests. More information here in Identity & Access Management – Rate Limit Rules API Reference & Premium IAM Features (Limits for number of Apps)



How can I add multiple Trusted Domains using the Authentication API v1.1?

For applications deployed across many customer websites, manually managing Trusted Domains through the Platform Portal can become difficult.

Recommended approach

Use the Authentication API v1.1 or the HERE CLI to programmatically manage Trusted Domains. Although the Platform Portal allows you to add up to 20 domains through the UI, an application can have up to 3,000 Trusted Domains. Additional domains should be managed using the CLI or API.

This approach allows you to:

  • Automate Trusted Domain management

  • Add and update domains as part of your deployment process

  • Manage large numbers of customer domains without relying on the web interface

Takeaway

For large-scale deployments, use the Authentication API v1.1 or the HERE CLI to manage Trusted Domains programmatically. The UI is intended for smaller configurations, while automation scales to thousands of domains. More information here in Authentication API v1.1 – Trusted Domains & KB0016418



Conclusion

Strong Identity & Access Management isn't a one-time configuration, it's an ongoing practice. Applying these practices helps keep HERE Platform integrations secure, simplifies credential management and makes applications easier to operate as they grow over time into a more secure, easier-to-manage HERE Platform application. Bookmark this guide as a reference the next time an authentication error, SSO question or credential rotation task comes up.

We encourage you to join the conversation, ask questions and share your learnings in the developer community in the developer community. It continues to be one of the strongest assets in the HERE developer ecosystem.

Portrait of Piyush Pelagade

Piyush Pelagade

Share article

Sign up for our newsletter

Why sign up:

  • Latest offers and discounts

  • Tailored content delivered weekly

  • Exclusive events

  • One click to unsubscribe