abhi
abhi

Reputation: 53

Authenticate for new APIM REST APIs?

In WSO2 API Manager old store/publisher APIs, I can login and get a cookie for authentication. But in new APIs I can't find a login API. In docs I can see it uses a (OAuth) token.

curl -H "Authorization: Bearer aa0ddec1ac656744234477f20fafcb0d" http://127.0.0.1:9763/api/am/store/v0.9/apis

But I don't see a way to get it. Could someone please help me?

Upvotes: 0

Views: 50

Answers (1)

Bee
Bee

Reputation: 12513

You have to create an OAuth2 application using DCR API. Docs can be found here. Then call to token API and get an access token.

Upvotes: 1

Related Questions