I'm trying to implement OAuth2 Authorization Code flow with WSO2 APIM 2.6 but I get a 405 method not allowed. Here is what I did
- Intall WSO2 APIM (no WOS2 IS nor IS-KM is in my environment. only APIM is present)
- Create a spring boot REST service with
@Restcontroller
. This leads to base path ashttp://localhost:8080
- Create an API in API publisher. This point to the REST service
As admin create an application in API store and subscribe to the API. The call back URL is simply
http://localhost:8080
as shown in the image belowCall the authorize method of WSO2 APIM with the following URL
When I call this URL, I'm redirected to the login page of WSO2 APIM like below
I just log in with admin/admin
- Upon login, I though I'd be redirected to a authorize page, but instead I'm redirected to the following error page
Coul you guyz help me here ?