FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    adding google

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    378
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tconley
      last edited by

      I'm taking the first step in bringing a classic-ASP app into the 21st century, replacing the existing authentication with fusionauth.

      I've got an application working and some users added. If a user logs in with email/password then it properly redirects to my redirect URI (which in this case is an ASP page that then POSTS to http://localhost:9011/oauth2/token" with the client_secret and gets the access_token back just fine. I can also then call http://localhost:9011/oauth2/userinfo and get the userinfo back just fine.)

      Once I've added google as a social auth provider and a user attempts to login, the google authentication part happens (user is sent to google and logs in there), but then I'm just stuck on the screen below... never redirected to the redirect_uri or anything.

      Also, i noticed if user clicks on create an account it goes to the registration page, which doesn't have a register with google link, even though I've enabled that "create registration" flag in the google settings for my application.
      Am I missing something?

      2a1c6bdf-9b2c-4bfe-8eeb-4027f5a27d56-image.png

      1020b68a-370a-4314-b8ea-fb0dcdd9eb7c-image.png

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        I'm taking the first step in bringing a classic-ASP app into the 21st century, replacing the existing authentication with fusionauth.

        Welcome! 🙂

        Once I've added google as a social auth provider and a user attempts to login, the google authentication part happens (user is sent to google and logs in there), but then I'm just stuck on the screen below... never redirected to the redirect_uri or anything.

        Hmmm. That's curious. Is there any information about the error in the event log or log tabs (under system)?

        What version of FusionAuth are you running?

        Also, i noticed if user clicks on create an account it goes to the registration page, which doesn't have a register with google link, even though I've enabled that "create registration" flag in the google settings for my application.

        So if you enable "create registration" that means that a user can authenticate with google and then be automatically registered for the given FusionAuth application. This means they'll be authorized to access that application (and receive a 200 when authenticating against it).

        This doesn't mean that a user can sign up with google from your application. More details here: https://fusionauth.io/docs/v1/tech/identity-providers/

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post