Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Why I cannot get Authorize Token suddenly via REST API Call?

alc
Regular Contributor
Regular Contributor

Hello, 

When I call REST API to get authorize token. it return HTTP 405 Not Allowed. But I am member of  ROLE_ADMIN and it worked before. see screen shot below. I am sure the username and password is correct as I can login to Admin UI.

Help please! By the way, we had issues when enable cookie jar before in Postman. right now we have disabled cookie jar, it should not be cookie issue as this is initial call to get token.

alc_0-1700617610411.png

 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

When u hardcode does it works


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

alc
Regular Contributor
Regular Contributor

Thanks Rushikesh for your follow up. 

It turns out I used a wrong url with pattern like https://{{url}}/{{path}}/api/login

the actual url does not use {{path}} variable but use hard coded ECM

It is a little bit inconvenience compare to the pattern of other APIs. this is not friendly from automated programming perspective based on configurations.

Thanks for your attentions!