We are using Confluence within another web application and would like to automatically sign users into Confluence from within our system, what are the options available?
What we'd like is similar to all the other web applications we use, in that with their API we can just supply a username/password and get back a token we can pass on to the login screen. However there doesn't seem to be such as system for Confluence that I can see?
Seraph, which Confluence uses seems to allow multiple authentication methods outside of SSO:-
http://confluence.atlassian.com/display/CONF256/HTTP+authentication+with+Seraph
It does, Seraph is the library for authenticating users. Most SSO options for Confluence are plumbed in via Seraph, it's not SSO in itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a better way to do this? I want users to automatically login to confluence from my web application so that they are not prompted with username/password while accessing a confluence link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This posting is 7 years old, but actually, Seraph is still in use if you want to do it that way.
There are a lot more options now though, but they all boil down to "you need an SSO solution that works for your web application as well as Confluence". (Seraph is one of these, and Atlassian use it for their applications)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is "Single Sign On" (which is not quite a username/password token thing - once someone logs into a SSO system, they can log into all the other systems that are in the same SSO setup, but there's no up-front exchange of username/passwords really)
Confluence does work with SSO systems - the most obvious one is Atlassian's own Crowd, but it can be hooked into others. The important thing here is what SSO systems your other web-application can provide or be hooked into?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I understand they don't provide any other mechansim apart from simple API calls, and this is all pretty well integrated now too so moving to some other system would be very problematic, I was hoping Confluence would be just as easy to integrate.
The API does have a login() call but this seems only for API calls :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems Seraph does what I want?
http://confluence.atlassian.com/display/CONF256/HTTP+authentication+with+Seraph
If I run login.action?os_username=*****&os_password=***** that seems to go through.
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.