0bb2c7beb7
When the token exchange grant type is used to get a cluster-scoped ID token, the returned token has a new audience value. The client ID of the client which performed the authorization was lost. This didn't matter before, since the only client was `pinniped-cli`, but now that dynamic clients can be registered, the information would be lost in the cluster-scoped ID token. It could be useful for logging, tracing, or auditing, so preserve the information by putting the client ID into the `azp` claim in every ID token (authcode exchange, clsuter-scoped, and refreshed ID tokens). |
||
---|---|---|
.. | ||
loginhtml | ||
get_login_handler_test.go | ||
get_login_handler.go | ||
login_handler_test.go | ||
login_handler.go | ||
post_login_handler_test.go | ||
post_login_handler.go |