OAuth2 plugin: request access token


#1

Hello,

I am trying to set up the oAuth2 plugin, but I have some problems when I need to request and access token (requst of authentication token is fine)...

This is the url I have to request the access token:
{OWNCLOUD_URL}/index.php/apps/oauth2/api/v1/token?code={X}&redirect_uri=https%3A%2F%2Fclient.mydomain.com%2F&client_id={CLIENT_ID}

But it returns HTTP error 405... what Am I doing wrong?


#2

How did you configure it?