Contact Us

support@onapp.com

U.S: (+1) 888-876-8666

UK: +44 (0) 203-318-5364

Single Sign On

Completed

Comments

4 comments

  • Avatar
    Paul Kelly

    here is some sample code for how we'd like it to work...

     

    // Customer SSO application

    SECRET_KEY = 'XXXXXXXXXXXXXXXX'
    timestamp = current_timestamp()
    user_id = get_onapp_user_id()

    hash = md5(user_id + '|' + timestamp + '|' + SECRET_KEY)

    return redirect('http://$cloudURL/sso?user=' + user_id + '&timestamp=' + timestamp + '&hash=' hash)


    // Onapp user validation
     
    user_id = GET['user_id']
    timestamp = GET['timestamp']
    hash = GET['hash']

    SECRET_KEY  = 'XXXXXXXXXXXXXXXX'

    if timestamp > (current_timestamp() - 15 minutes)
            and md5(user_id + '|' + timestamp + '|' + SECRET_KEY) == hash:
        log_user_in(user_id)
    else:
        return 'validation failed'

     

    The secret key is set in the OnApp CP by an Admin and is used in the SSO application for the provider and it all works nicely...

    0
    Comment actions Permalink
  • Avatar
    Stuart Haresnape

    SSO has been on our wish list for a while. I think near the end of this year we will start to have enough time to look into in more detail

    0
    Comment actions Permalink
  • Avatar
    Michael

    another vote for SSO please

    0
    Comment actions Permalink
  • Avatar
    Stuart Haresnape

    Hi

    We are releasing SAML integration with 3.3.0. Please check it out :-)

    Regards

    Stuart

    0
    Comment actions Permalink

Please sign in to leave a comment.