mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 09:37:42 +00:00
docs: note audience scope for service user (#8252)
# Which Problems Are Solved - It is not possible to introspect service user token if `urn:zitadel:iam:org:project🆔{projectid}:aud` scope is not added in token request. - Adding this note to the document could reduce confusion and debugging time - https://discord.com/channels/927474939156643850/1168857403945660436/1168930850029707386 --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
parent
5ca8ad2075
commit
6cd467d773
@ -49,6 +49,9 @@ curl --request POST \
|
||||
If you want to access ZITADEL APIs, make sure to include the required scopes `urn:zitadel:iam:org:project:id:zitadel:aud`.
|
||||
Read our guide [how to access ZITADEL APIs](../zitadel-apis/access-zitadel-apis) to learn more.
|
||||
|
||||
**Important Note:** If the service user token needs to be validated using token introspection, ensure you include the `urn:zitadel:iam:org:project:id:{projectid}:aud` scope in your token request.
|
||||
Without this, token introspection will fail.
|
||||
|
||||
You should receive a successful response with `access_token`, `token_type` and time to expiry in seconds as `expires_in`.
|
||||
|
||||
```bash
|
||||
|
@ -163,6 +163,9 @@ curl --request POST \
|
||||
If you want to access ZITADEL APIs, make sure to include the required scopes `urn:zitadel:iam:org:project:id:zitadel:aud`.
|
||||
Read our guide [how to access ZITADEL APIs](../zitadel-apis/access-zitadel-apis) to learn more.
|
||||
|
||||
**Important Note:** If the service user token needs to be validated using token introspection, ensure you include the `urn:zitadel:iam:org:project:id:{projectid}:aud` scope in your token request.
|
||||
Without this, token introspection will fail.
|
||||
|
||||
You should receive a successful response with `access_token`, `token_type` and time to expiry in seconds as `expires_in`.
|
||||
|
||||
```bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user