Skip to content

Commit 634cd00

Browse files
committed
maskinporten: add reference command to get client ID
1 parent cc05e86 commit 634cd00

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/auth/maskinporten/reference/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ These variables are optional and should only be used for [manually validating to
3232

3333
`MASKINPORTEN_WELL_KNOWN_URL` is optional if you're using `MASKINPORTEN_ISSUER` and `MASKINPORTEN_JWKS_URI` directly.
3434

35+
## Client ID
36+
37+
The client ID for your application in Maskinporten can be found with the following command:
38+
39+
```shell
40+
kubectl get maskinportenclient -n <team> <name> -o jsonpath='{.status.clientId}'
41+
```
42+
3543
## Claims
3644

3745
See the [Access Token reference in Maskinporten](https://docs.digdir.no/docs/Maskinporten/maskinporten_protocol_token#the-access-token) for a list of all claims.

0 commit comments

Comments
 (0)