โ04-02-2020 01:48 PM
Iโm working with an application that supports โClient Credentialsโ and โAuthorization Codeโ grant types in the authorization request; however, doesnโt support refresh tokens. What is the value of selecting the โClient Credentialsโ grant type in the REST OAuth2 Account? Does the REST OAuth2 Account make the authorization request and get the token when the first document enters the REST snap thatโs using the account? Whatโs the purpose of the โAuthorizeโ button when the grant type is โClient Credentialsโ since the token will expire at some point? Is it just to validate that the account has been configured correctly?
I have the same questions if the grant type is โAuthorization Codeโ and the api doesnโt support refresh tokens.
โ01-21-2021 08:21 AM
Hi Murugan - Iโm sorry, but my companyโs policies prevent me from sharing the pipeline.
โ01-21-2021 08:40 AM
Thanks for the reply. I understand. I have created my own REST POST to get the authorization token. It is not working.
URL - https://login.microsoftonline.com/{{TenantID}}/oauth2/token
grant_type - โclient_credendialsโ
I have client_id and client_secret. I am able to get the Bearer token from POSTMAN by giving this information in Body. I would like to know how to give this information in REST GET or REST POST snap.
Thanks,
Murugan
โ01-21-2021 10:55 AM
@mramaswamy Do you have problem using REST OAuth2 account to retrieve the token? The problem to refresh client_credentials
accounts has been resolved and the accounts are refreshed regularly.
โ03-25-2023 06:26 PM
Hi
Oauth2 is working awesome for various client I have been using. But we got a strange issues, any suggestion would be helpful.
Oauth2 is working for one node but not for other node.
And we are getting 500 error on authorize after march 11 release
โ04-02-2023 04:47 AM
It is working as expected, right now request can go from any node to respective server to get the token, it is round robin or LRH. We can put one enhancement to specify dedicated node should go to generate token