Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

CROWD http authentication with custom login page

rajeev pandey January 28, 2018

Hi Guys,

We have php/Apache website and authentication is via CROWD http authentication module. So when i go to mydomain.com page, it displays an alert/popup for the authentication, which looks really boring and plain, Can anyone suggest some way to change this alert into a custom login form. Also this has SSO enabled. Any links or guide/post will be greatly appreciated. Thanks 

1 answer

1 accepted

0 votes
Answer accepted
Marcin Kempa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 29, 2018

Hi @rajeev pandey

Crowd provides a REST API for doing the authentication and SSO. It is possible to integrate a custom application that would send to Crowd authentication details (user login and password) via REST API, so you are able to provide your own custom log page. In fact this is what other Atlassian applications do (each of the product has its own login page).

I assume that currently your php/Apache website is relying on apache Crowd module https://confluence.atlassian.com/crowd/integrating-crowd-with-apache-9961902.html, which btw is not supported. 

You will need to create a custom page with a login form, that would send user credentials to Crowd using session SSO REST API. Then you will have to setup a cookie in order for the user to be able to use SSO with other applications, and also you will have to manage the session.

Here are some links to documentation that would hopefully get you up and running with the SSO:

 

You may also find this community thread useful https://community.atlassian.com/t5/Questions/how-can-i-retrive-CROWD-sso-token-by-username/qaq-p/79159.

 

Hope that helps!

Marcin Kempa

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events