Method Community

 

Question about creating a single sign link

Last post 03-19-2012 2:54 PM by CF_Pro. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-19-2012 1:58 PM

    Question about creating a single sign link

    CF_Pro asked how to create a single sign on link to a portal from his website.  I answered the question here: 

    http://www.methodintegration.com/cs/forums/p/2985/11437.aspx#11437

    But for the API portion of the question, I wanted to move the conversation to the API forum.  Here's my response.

    For the tab link name, it should be tab link you want them to be taken to in the portal when they first sign in.  Here's how I got it to work for me:

    CompanyAccount: My Company Account

    Login: MyUserName

    Password: MyPassword

    SessionID:

    DomainLinkOrMIurl: miurl

    TabName: Contacts Portal
    (Admittedly redunant in the case of portals, but it's the tab that portals use.)

    TabLinkName: Home  
    (The tab link users should see when they first sign in.)

    RecordID: 10  The active record id to set for the screen of the TabLinkName.

    RoleName:

    ExpiryDate:

    isPortal: True

    PortalName: Contacts_Portal

    PortalEntityRecordID: 78
    (The RecordID of the customer (not contact) who this link will be given to to sign in.)

     

    Paul

  • 03-19-2012 2:01 PM In reply to

    Re: Question about creating a single sign link

    Answer

    BTW - I used the lab version of the API for this:

    https://www.methodintegration.com/methodapitest/service.asmx?op=MethodAPIGetScreenURLV4

    The reason I used it, is because the non-lab version requires the specified user to be currently signed in, which is an outdated requirement. 

    Paul

     

  • 03-19-2012 2:54 PM In reply to

    Re: Question about creating a single sign link

    Great, that worked.

     

    Thank you

Page 1 of 1 (3 items)