Component ยท Shared or other
Thunder defaultResourceServer config
ON-PREM Concept Identity
What it is
The default resource server is a ThunderID server setting, defaultResourceServer, that Agent Manager points at its main resource server (amp-resource-server). A token request for scopes that omits the resource parameter is then tied to that server.
Why it exists
Without it, a service asking for scopes but not naming a resource gets an invalid_target error, and service accounts could not get usable tokens.
How it works
- A token is bound to exactly one resource server. It is the resource parameter if given, otherwise the default one.
- Requested scopes that are not defined on that server are dropped silently.
- A request with no scopes is not tied to a server, and the token audience becomes the client id. That is why am-observer-client asks for no scopes.
- Set in the bootstrap config, along with CORS and CSP settings.
Identity and access
It decides the audience (aud) of service tokens and which scopes can appear in them.
Key facts
- Setting
- defaultResourceServer
- Value
- amp-resource-server
- Edition
- On-prem
- Namespace
- amp-thunder
Talks to (1)
- depends on ThunderID OAuth2/OIDC server Default resource server for client_credentialsserver_config