Problems in Webform when trying to capture the token using oauth 2.0 authentication RRS feed

  • Question

  • User-820736053 posted

    I have the following form where users log in by authenticating oauth2.0 google so they can enter without problems to our system, everything worked normal but a few days ago when entering under the same credentials this same form did not stop loading.

    When doing the tests of why we can not log in via google and enter the next page, it was ruled out that it was for the value of the authorization token, since the hidden input capture the value, in the image below it is can show that the access token shows all the parameters without errors

    Therefore, the question arises here, what would be the reason why the users do not finish logging through the form. I ask you all to help me determine in what part of the code I'm failing, perhaps in the javascript functions on the client side where I define the scope or maybe the error is in the codebehind when using a JSON object to extract the e-mail of the logged-in user.

    code client side

    codebehind vb.net

    Thank you very much for your attention, I will greatly appreciate your help in this terrible problem

    Tuesday, July 24, 2018 3:11 PM

All replies

  • User1724605321 posted

    Hi fredsale ,

    Sorry , i am not familiar with Google Sign in API . But according to document :


    https://www.googleapis.com/auth/userinfo.profile is Deprecated - replace with the equivalent profile scope. And in addition , please try to add breakpoints to client side and server side to confirm where cause the application waiting , it is hard to troubleshoot since application is suddenly not working , just debug start from initial process .

    Best Regards,

    Nan Yu

    Wednesday, July 25, 2018 6:13 AM