I'm trying to use Crowd (2.2.7) and its REST APIs for authentication in a Django web application. I've been able to validate credentials and create SSO tokens, but the SSO cookies I set aren't recognised by my Confluence/JIRA instances (meaning I have to log in again). Logging in to either application overwrites the cookie that I set, but the Crowd console then shows two user sessions under "Administration > Current Sessions > User Sessions".
All applications are on the same domain (confluence.domain.com, jira.domain.com, etc.) and my browser is definitely sending the cookie that I set. I'm making my token creation request to https://crowd.domain.com/crowd/rest/usermanagement/1/session.json?validate-password=0 and the body is as follows:
{"username": "chris"}
Any ideas how I could get SSO working?
Community moderators have prevented the ability to post new answers.
Chris did you ever this get resolved?
Thanks, already did just that ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I follow the Crowd REST API doc, there' a possibility to get back a token ( HTTP POST /session?validate-password=false etc.). But what then? I want to create a SSO between my own website from which I talk REST to Crowd and JIRA/Confluence so what cookies/headers do I need to set to get that working given the token that I have?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael, I believe you should ask a question of your own on this. The question is soemthing else, and if you get a reply on your question it is not really an answer to this question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you help me with what cookies I need to set to begin with?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you close in on a solution yourself on this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same issue. I'm currently in contact with Atlassian support, and the issue has actually been escalated internally to senior staff. Seems that everything is working fine in regards to cookies, etc., but for some reason Confluence/Crowd is still unable to play together. Having Crowd authenticate on behalf of Confluence (without SSO) works like a charm though.
A small update - our IT infrastructure includes an ISA that does not forward the client IP adr. But if that is the main reason I still do not know.
I'll update on this issue when I get a reply from Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still waiting for feedback from Atlassian. No news from me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still waiting for feedback from Atlasian. The issue is a level 1 support issue but they still haven't figured out the reason.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ended up discontinuing Crowd. Atlassian was unable to aid for our setup with ISA server, and we'll rather develop our own solution that continue with Crowd.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you set the authenticator in seraph-config.xml ?
For Confluence it should be
<authenticator class="com.atlassian.confluence.user.ConfluenceCrowdSSOAuthenticator"/>
and for JIRA it should be
<authenticator class="com.atlassian.jira.security.login.SSOSeraphAuthenticator"/>
See http://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Confluence
and
http://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+JIRA
Cheers,
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is your webapp and Confluence/JIRA instances on the same IP? I had a similar issue recently with fisheye and had to add the IP that fisheye was running on into the Trusted Proxy list in Crowd (under Admin). This resolved it.
EDIT: Misread your post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does 'Misread your post' mean that your answer did'nt have anything to do with the matter?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivar,
Answers allows you the opportunity to give a reason why you edited your post. In this case, Colin offered an answer, and then edited it, leaving the reason "EDIT: Misread your post" as the reason for editing his post.
Cheers,
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jim; of course :) Just wandering if his edit indicated that he changed his original answer and that his current answer is related, or if he let his original answer 'stay' while adding 'Misread your post'. I've seen both things happen :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.