Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use this toolkit with SSO login? #15

Open
larsxschneider opened this issue Apr 11, 2013 · 8 comments
Open

Is there a way to use this toolkit with SSO login? #15

larsxschneider opened this issue Apr 11, 2013 · 8 comments
Assignees

Comments

@larsxschneider
Copy link

No description provided.

@dawsmith8
Copy link

Not at the moment, but I've heard one or two requests for it. We would likely have to add a way to designate the Identity Provider url - I'll keep this open hopefully to spike it out soon.

@benoitdion
Copy link

+1

Is there a way to work around this issue?

@dawsmith8
Copy link

Workaround - not at the moment - you can whitelist some users in an SSO sub of Rally to be okay for non sso auth.
I think I can look at this a little soon though. It would probably need a new parameter or two to tell us what your SSO login page url is along with some details of that page - eg what the HTML form name and user/login divs or input fields are.

@dawsmith8
Copy link

@larsxschneider and @benoitdion - I have a branch up for a spike on SSO. I cut a new gem: rally_api-0.9.17.pre which has prelimary SSO working for my sso user - hard for me to test for you, but wanted to see if it would work.
The pre is up on rubygems.org - try gem install rally_api --pre

Sorry for the edit - one more thing - in the config you pass in, you would now need to pass in
config[:rally_sso_url] = your initial SSO url
and the base_url for rally
Should be something like: https://sso.rallydev.com/sp/startSSO.ping?PartnerIdpId=https://[youridp].com

@ghost ghost assigned dawsmith8 Jun 14, 2013
@wvdschel
Copy link

wvdschel commented Nov 8, 2013

Has this been merged to the main branch, or is this still only available in the --pre gem?

@dawsmith8
Copy link

@wvdschel - it is still in a pre gem. I'm thinking of changing the gem so that you can pass in your own code block for sso login. The main issue is that each SSO handshake is unique (depends on how your company setup your SSO provider). This means that it is very hard to make the code generic. The test (pre) support I had would work if the handshake only used HTML forms to do the handshake, but some customers do other actions in the handshake beyond form posting (eg Javascript or captcha).

@wvdschel
Copy link

I think that would be a good idea. I tried it with my company's SSO page, but it seems to pick the wrong form (the search form instead of the login form).

@dawsmith8
Copy link

With the 1.0.x version of this gem, you can now use API keys for auth. See the Readme - hopefully the api keys would work for what you might need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants