Describe the bug
A clear and concise description of what the bug is.
when my client setup
provider: oauth
client-id: clientid
client-authentication-method: private_key_jwt
authorization-grant-type: authorization_code
scope: openid,profile
redirect-uri: '{baseUrl}/login/oauth2/code/clientid'
and some config code
it work
bug
when access_token is expired
refresh token
report error:
There was an unexpected error (type=Internal Server Error, status=500).
This class supports client_secret_basic, client_secret_post, and none by default. Client [authCodePrivateKeyJwt] is using [private_key_jwt] instead. Please use a supported client authentication method, or use setRequestEntityConverter to supply an instance that supports [private_key_jwt].
java.lang.IllegalArgumentException: This class supports client_secret_basic, client_secret_post, and none by default. Client [authCodePrivateKeyJwt] is using [private_key_jwt] instead. Please use a supported client authentication method, or use setRequestEntityConverter to supply an instance that supports [private_key_jwt].
Describe the bug A clear and concise description of what the bug is. when my client setup provider: oauth client-id: clientid client-authentication-method: private_key_jwt authorization-grant-type: authorization_code scope: openid,profile redirect-uri: '{baseUrl}/login/oauth2/code/clientid' and some config code it work bug when access_token is expired refresh token report error: There was an unexpected error (type=Internal Server Error, status=500). This class supports
client_secret_basic
,client_secret_post
, andnone
by default. Client [authCodePrivateKeyJwt] is using [private_key_jwt] instead. Please use a supported client authentication method, or usesetRequestEntityConverter
to supply an instance that supports [private_key_jwt]. java.lang.IllegalArgumentException: This class supportsclient_secret_basic
,client_secret_post
, andnone
by default. Client [authCodePrivateKeyJwt] is using [private_key_jwt] instead. Please use a supported client authentication method, or usesetRequestEntityConverter
to supply an instance that supports [private_key_jwt].To Reproduce
Expected behavior I wish it work normal
Sample