Automatic Login

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?

2 answers

1 accepted

0 votes
Accepted answer

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.

0 votes

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?

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 :(

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,031 views 15 13
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you