...
Code Block | ||
---|---|---|
| ||
class SSOController{ // Route GET "/maestrano/auth/saml/init/{marketplace}" to this method function init(Hash requestParameters){ // Retrieve the configuration for the given marketplace marketplace = requestParameters["marketplace"] config = MaestranoConfig.get(marketplace) requestauthReq = new Authrequest(config, u) ssoUrl = authReq.getRedirectUrl(); redirectTo(ssoUrl) } } |
...
Maestrano will check that everything is in order and then do a POST request to the SSO Consume Path url containing all the required information to identity identify the user and his organization connecting to your application.
...