Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Genesys Cloud and Okta SSO Integration issue

    Posted 15 days ago

    We have two production organizations, org1 and org2 , both configured to use the same Okta instance. However, the Genesys login redirect behavior differs between the two organizations.

     

    Login Process in our vue app:
    1. Users redirects to Okta hosted Signin page for UI application login from our client application.
    2. Okta and Genesys SSO have been configured and verified. We are able to successfully log in to Genesys by clicking the Okta icon on the Genesys login page and it gets redirected to Okta SignIn page and on entering okta creadentials - Genesys login is succesful.

      1. We referred to the following documentation during the setup:
    1. After a successful login to the Okta UI application, Okta redirects the user back to our client application.
    2. From the client application, we initiate the Genesys login using the loginPKCEGrant method with the following parameters:
      • ORG: org1 or org2
      • CLIENT_ID
      • CLIENT_ENV: usw2.pure.cloud
      • provider: okta
      • state: state
    3. When this method is invoked, the user is either:
      • Redirected to the Okta sign-in page to authenticate with Genesys via okta, or
      • Logged into Genesys automatically using the existing Okta session and redirects  back to redirect_uri URL passed to loginPKCEGrant method.

    Issue:

    • For org1, the flow works as expected. For Genesys login, the user is redirected to Okta, the existing session is validated, and the user is redirected back to our client application after a successful Genesys login.
    • However, for org2, instead of redirecting to Okta, the user is redirected to the default Genesys logaccin page. Additionally, the organization is not preselected on the login page even though we mentioned in loginPKCEGrant method under provider attribute.
    • Please see the attached screenshots and URLs for reference:
      • image

    #Integrations

    ------------------------------
    Anil Mallula
    ------------------------------


  • 2.  RE: Genesys Cloud and Okta SSO Integration issue

    Posted 15 days ago

    Thanks for this info!



    ------------------------------
    Maricris Jurado
    Senior Analyst, Quality Intelligence
    ------------------------------