oidc
Manage OIDC tokens.
gi oidcSubcommands
| Command | Description |
|---|---|
gi oidc create-token | Create an OIDC token |
gi oidc validate-token <token> | Validate an OIDC token |
Flags
create-token flags
| Flag | Default | Description |
|---|---|---|
--scope | openid profile | Token scope |
--audience | — | Token audience |
--expires-in | — | Token expiration in seconds |
Examples
# Create a token with default scope
gi oidc create-token
# Create a token with custom scope and audience
gi oidc create-token --scope "openid profile email" --audience my-app
# Create a token with expiration
gi oidc create-token --expires-in 3600
# Validate a token
gi oidc validate-token eyJhbGciOi...