Right now authomatic doesn't support for client credential grant type of oauth2 authentication, it just support authentication code grant, so I need to authenticate my users using client credential grant type so for doing that what I was thinking is to overwrite the login function of oauth2 class (https://github.com/prakharjoshi/authomatic/blob/master/authomatic/providers/oauth2.py#L280 ) and modify it accordingly so that it can access tokens with only client id and client secrets and no further login for clients. This seems to be one approach to me right now.
Is there any other way to implement client credentials grant using authomatic ? Any ideas ?
Right now authomatic doesn't support for
client credential granttype of oauth2 authentication, it just supportauthentication code grant, so I need to authenticate my users using client credential grant type so for doing that what I was thinking is to overwrite the login function of oauth2 class (https://github.com/prakharjoshi/authomatic/blob/master/authomatic/providers/oauth2.py#L280 ) and modify it accordingly so that it can access tokens with only client id and client secrets and no further login for clients. This seems to be one approach to me right now.Is there any other way to implement client credentials grant using authomatic ? Any ideas ?