The issue is that we don't yet have support for save/restore requests after authentication in cookie store. I've created for that JIRA https://issues.jboss.org/browse/KEYCLOAK-1164 .

As a workaround, you may need to initialize a login with different endpoint (GET request). Is it possible for your usecase?

Marek

On 30.3.2015 17:36, Marek Posolda wrote:
I will take a look at it and will let you know.

Marek

On 30.3.2015 08:33, Bappaditya Gorai (bgorai) wrote:

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    



_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev



_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev