Using Basic Auth in Confluence Cloud REST API causes Internal Server Error

Mark Tiedemann June 28, 2017

See stacktrace below.

Only thing that works for me is using `Cookie: cloud.session.token=XXX`.

Any idea why `Authorization: Basic base64(email:password)` does not work?

 

javax.servlet.ServletException: Filter execution threw an exception
	com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:28)
...

root cause:
java.lang.NoSuchMethodError: com.atlassian.crowd.embedded.api.CrowdService.authenticateWithHostname(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/atlassian/crowd/embedded/api/User;
	io.atlassian.sessionservice.client.seraph.SessionServiceAuthenticator.getUser(SessionServiceAuthenticator.java:97)

 

PS: This is the 2nd time I have to post here. My first question got flagged as spam. So you might also want to check your spam filters ...

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events