Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,525
Community Members
 
Community Events
168
Community Groups

Unknown state in response

Edited

We're trying to setup SSO on our Bitbucket DC instance with OIDC and we're seeing this error after logging in on our IDp(Keycloak).

com.atlassian.plugins.authentication.impl.web.usercontext.AuthenticationFailedException: Unknown state in response

Does anymore have more info on the error?

The stack trace is

com.atlassian.plugins.authentication.impl.web.usercontext.AuthenticationFailedException: Unknown state in response
	at com.atlassian.plugins.authentication.impl.web.oidc.OidcConsumerServlet.lambda$doGet$0(OidcConsumerServlet.java:103)
	at java.base/java.util.Optional.orElseThrow(Optional.java:408)
	at com.atlassian.plugins.authentication.impl.web.oidc.OidcConsumerServlet.doGet(OidcConsumerServlet.java:103)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:46)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

 

3 answers

hi

i've got same problem with confluence and Cas Apero OIDC. I'm not sure what to write in "username claim"

i try with {sub} or {id} or something else, and i"ve always the same error

a solution for someone ?

@esk I'm facing this issue, were you able to solve it? 

0 votes

Hi! 

Have you tried to clean config and do it from scratch? 

Hi. Which config to clean?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events