Open byewokko opened 1 week ago
token_endpoint_auth_method
to client_secret_basic
using update API https://github.com/TeskaLabs/seacat-auth/blob/main/seacatauth/client/handler.py#L33m2m_credentials_id
attribute in client.m2m_credentials_id
, then immediately create client session with client_id
.token_endpoint_auth_method
and m2m_credentials_id
.
OAuth defines client credentials flow as a means of obtaining access token on behalf of the client application, without end-user authentication. This token is used for M2M requests, like an API key.
Describe the solution you'd like
grant_type
request parameter value isclient_credentials
.code
parameter must not be expected in this case.token_endpoint_auth_method
.See RFC6749#4.4 for details.