Validate an Authorization header Bearer token and return the mapped
principal and token expiry time.
POST
/redpanda.core.admin.v2.SecurityService/ResolveOidcIdentity
curl \
--request POST 'http://localhost:9644/redpanda.core.admin.v2.SecurityService/ResolveOidcIdentity' \
--header "Content-Type: application/json" \
--header "Connect-Protocol-Version: 1" \
--header "Connect-Timeout-Ms: 42.0"
Request examples
# Headers
Connect-Protocol-Version: 1
Connect-Timeout-Ms: 42.0
# Payload
{}
Response examples (200)
{
"expire": "2023-01-15T01:30:15.01Z",
"groups": [
"string"
],
"principal": "string"
}
Response examples (default)
{
"code": "not_found",
"details": [
{
"debug": {},
"type": "string",
"value": "@file"
}
],
"message": "string"
}