When I'm running the first-time log in API using username and password will get the client id and secret. using o/token api I will get the access token, o/token params are as follows:
grant_type=password username={{emailid}} password={{password}} client_id={{client id}} client_secret={{client secret}}
Is it possible to get the access token without using username and password in o/token/ api? using the only client_id and client secret can I get access token and refresh token???
Finally got solution!!!!!!
We have to use oauth2 client_credentials grant type instead of password type. For more info check this out - https://tools.ietf.org/html/rfc6749#section-4.4
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.