ssossossosso

Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

OroCommerce, an open-source B2B commerce platform. 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 1 month ago.

  • Creator
    Topic
  • #3104

    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
  • #3111

    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?

    #3129

    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

    #3137
    Michael
    Michael
    Oro Core

    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

    #3138

    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

    #3146

    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)

You must be logged in to reply to this topic.