We are using OAuth2.0 for security.I have gone through many resources online and everyone is using client_id ,client_secret along with UserName and password.But I only want client_id and client_secret and get the access token without userName and password.
Any help will be highly appreciated.
Use the oauth2 client_credentials flow instead of authorization_code or implicit. See https://stackoverflow.com/a/37595818/1098564 for an example.
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.