Forums

Help needed with single sign on form

webcase 07 Dec, 2011
Hi All,

My client asked me to create a login form. Through this form, his clients should be able to log on to an external webbased tool 'Nmbrs'.

I use CF 4.0 RC1.9 with Joomla 1.7.3

I created a form with 2 textboxes (e-mail address and password).
These fields are called: mail and pass

Nmbrs provided me with this information on how to log on through my form:
http://support.nmbrs.nl/entries/20151321-single-sign-on-service-sso

Can anyone help me out with this?
- How should I change te values in the soap codes provided and
- How do I implement it in Chronoforms?

Thanks in advance!
Max_admin 08 Dec, 2011
well, I think the numbers to be added to the URL are static ? you generate them once and that's it ? or they will change for every API call ?

If they are static then you need to get them and add them to the URL then use it in an "HTTP Request" action OR "Redirect User" action as per your requirements.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
webcase 08 Dec, 2011
Hi Max,

Thanks very much for your reply.

The <token> is dynamic, unfortunately...

First the token needs to be generated, by passing username and password. I guess this can be done by use of my Form.
- I don't know how to implement the soap/API call

Second, if this procedure is done correctly, Nmbrs should reply with a token. This token needs to be put at the end of the redirect URL.

I believe the URL to the Nmbrs has a good explanation, the thing is this is my first case on a single signon form...
GreyHead 17 Dec, 2011
Hi webcase,

I know very little about SOAP :-(

But from a quick Google it looks as though you should be able to put the API call into a Custom Code block in the OnSubmit event. I found a little tutorial here which is similar to your case.

Bob
webcase 17 Dec, 2011
Tx Bob! I'll try this asap and will let you know if I manage to get it to work!
This topic is locked and no more replies can be posted.