Closed
Description
Hello
I'm trying to use rest api with an admin user account.
I get the token properly : POST http://magento2.local/rest/V1/integration/admin/token?username=myadminuser&password=mypassword
Next, when I do an api call, it's seems $this->_aclRoleLocator->getAclRoleId() in Magento\Framework\Authorization always return NULL.
I tried to add token param to header, get param, sharp param... with name "oauth_token", or "token". Is there a problem ?
By the way, will Magento2 support oauth2 ?
Best regards and thank you.
Sacha
Metadata
Metadata
Assignees
Labels
No labels