[keycloak-dev] Client getting 405 response for POST API using stateless adapter

Bappaditya Gorai (bgorai) bgorai at cisco.com
Mon Mar 30 02:33:50 EDT 2015


Hi Team,
We are facing following issue in Keycloak 1.1.0_Final release. I am using stateless adapter configuration i.e  tokenstore is  cookie.

I have an API endpoint which support POST method. While accessing this API client is receiving  405 (Method not allowed) response. Same works fine if adapter is *not* stateless.
>From my understanding looks like 302 response of CODE_TO_TOKEN is causing the Client to access the Resource Endpoint as GET method which is not allowed in my case( My API endpoint only supports POST).

Do you have any fix for this?


Thanks
Bappaditya Gorai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20150330/d7236cd8/attachment.html 


More information about the keycloak-dev mailing list