OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Google SSO not working in 1.0.0 ?

This topic contains 5 replies, has 4 voices, and was last updated by  Alex Puscas 7 years, 2 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #31422

    cedric
    Participant

    Hello,

    We managed to get the Google SSO working on a previous version of OroCRM a few months ago when we made some tests. Now we installed OroCommerce 1.0.0 from scratch and we are trying to set up Google SSO using the same parameters that worked back at the time… and it is not working now. Google redirects the request to the following URI:
    http://<OUR INTERNAL DOMAIN>/login/check-google?code=<THE_CODE>
    and it leads the user to the default 404 page with message “404 Not Found. The page you requested could not be found. Please make sure the path you used is correct.”

    Something’s wrong in the platform configuration?

    Cédric

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #31423

    dandries
    Participant

    Hi Cedric,

    There are a few documentation resources for this:
    Google SSO documentation
    Google OAuth2 blog post

    Let me know if they help.
    Also, do you have any logs that maybe contain information about the communication with Google services and/or platform problems?

    #31424

    cedric
    Participant

    Hi dandries,

    Thanks for your answer. I did follow these documentation resources to setup the thing and I looked again to be sure. The problem is still there.

    I’m using OroCommerce 1.0.0 et not OroCRM. When I click on “login using google” on the login page, I’m being redirected on the usual Google log-in page, then I enter my Google credentials and finally I’m being redirected back to our OroCommerce plaform on this URL:
    http://<OUR URL>/login/check-google?code=4/mOZ4BschR-ekAJ-MS6YPngzv2ZVyje1ChMwuT7mnrZM#

    The page is a “404 Not Found” with default OroCommerce theme. Did you try Google SSO on the OroCommerce platform? Could it be something linked to our environment?

    Cédric

    #31425

    Michael
    Keymaster

    Hi Cédric,

    Does the “OUR URL” part include “/admin” (or your custom backend prefix) ? I guess you are trying to enable SSO for admin users, right?

    Thank you,
    Michael

    #31426

    cedric
    Participant

    Hi Michael,

    No it does include the “/admin” part. Yes we are trying to enable SSO for the admin part (the backoffice) so for our internal users.

    Cédric

    #31427

    Alex Puscas
    Participant

    Hi Cédric,

    It seams like a bug. Thank you for reporting it!

    Thanks,
    Alex Puscas

Viewing 5 replies - 1 through 5 (of 5 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top