-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
Description
Describe the feature request?
When using JWT authentication, the client assertions in the configuration are static, and won't be updated after the token expires
in
func (a *JWTAuth) Authorize ... {
....
accessToken, nonce, privateKey, err := getAccessTokenForPrivateKey(a.httpClient, a.orgURL, a.clientAssertion ...)
....
}
compare that to:
func (a *PrivateKeyAuth) Authorize {
...
clientAssertion, err := createClientAssertion(a.orgURL, a.clientId, a.privateKeySigner)
...
}
i think allowing for the ClientAssertion to be a callback rather than a string, in JWTAuthConfig, would solve the issue
New or Affected Resource(s)
okta authentication
Provide a documentation link
No response
Additional Information?
No response