google-authentication

Invalid parameter value for redirect_uri: Non-public domains not allowed: http://localhost:3000/auth/google/callback

馋奶兔 提交于 2020-07-23 06:36:14
问题 I am following Traversy Media recent tutorial on nodejs from scratch and doing every thing as he doing but I don't know why I can't use this redirecting url http://localhost:3000/auth/google/callback even though he(brad traversy the tutorial maker) can use. 回答1: instead of using http://localhost:3000/auth/google/callback I used http://127.0.0.1:3000/auth/google/callback and also used 127.0.0.1 while making any request to server in my chrome browser. localhost is not allowed to be redirect uri

Invalid parameter value for redirect_uri: Non-public domains not allowed: http://localhost:3000/auth/google/callback

a 夏天 提交于 2020-07-23 06:35:22
问题 I am following Traversy Media recent tutorial on nodejs from scratch and doing every thing as he doing but I don't know why I can't use this redirecting url http://localhost:3000/auth/google/callback even though he(brad traversy the tutorial maker) can use. 回答1: instead of using http://localhost:3000/auth/google/callback I used http://127.0.0.1:3000/auth/google/callback and also used 127.0.0.1 while making any request to server in my chrome browser. localhost is not allowed to be redirect uri

Invalid parameter value for redirect_uri: Non-public domains not allowed: http://localhost:3000/auth/google/callback

强颜欢笑 提交于 2020-07-23 06:33:57
问题 I am following Traversy Media recent tutorial on nodejs from scratch and doing every thing as he doing but I don't know why I can't use this redirecting url http://localhost:3000/auth/google/callback even though he(brad traversy the tutorial maker) can use. 回答1: instead of using http://localhost:3000/auth/google/callback I used http://127.0.0.1:3000/auth/google/callback and also used 127.0.0.1 while making any request to server in my chrome browser. localhost is not allowed to be redirect uri

Prevent black band running down the screen?

ⅰ亾dé卋堺 提交于 2020-07-22 22:50:11
问题 Logging in using [this] package causing the following behaviour. I think the darkening of the screen is expected but it's the ungraceful departure that is the problem.. I don't get an error..but this appears on the console. W/ActivityThread(31387): handleWindowVisibility: no activity for token android.os.BinderProxy@a1edd0f My code is the recommended code for the plugin. void loginWithGoogle() async { var auth = AuthProvider.of(context).auth; print('Signing up with google...'); setState(() {

Prevent black band running down the screen?

老子叫甜甜 提交于 2020-07-22 22:46:03
问题 Logging in using [this] package causing the following behaviour. I think the darkening of the screen is expected but it's the ungraceful departure that is the problem.. I don't get an error..but this appears on the console. W/ActivityThread(31387): handleWindowVisibility: no activity for token android.os.BinderProxy@a1edd0f My code is the recommended code for the plugin. void loginWithGoogle() async { var auth = AuthProvider.of(context).auth; print('Signing up with google...'); setState(() {

Prevent black band running down the screen?

不羁岁月 提交于 2020-07-22 22:45:50
问题 Logging in using [this] package causing the following behaviour. I think the darkening of the screen is expected but it's the ungraceful departure that is the problem.. I don't get an error..but this appears on the console. W/ActivityThread(31387): handleWindowVisibility: no activity for token android.os.BinderProxy@a1edd0f My code is the recommended code for the plugin. void loginWithGoogle() async { var auth = AuthProvider.of(context).auth; print('Signing up with google...'); setState(() {

What does `suppressed_by_user` mean when using Google One Tap?

别等时光非礼了梦想. 提交于 2020-07-22 07:22:49
问题 I am trying to get the one tap to appear when the user clocks sign in, The below code works just fine when It runs as soon as the page loads but if I try to get it run on click then I get the error suppressed_by_user error I don't have an advert blocking plugin running and I don't know what suppressed_by_user could mean? docs here detail the error but don't explain what caused it or how to fix it. <script src="https://accounts.google.com/gsi/client"></script> ... const signin = () => { const

What does `suppressed_by_user` mean when using Google One Tap?

岁酱吖の 提交于 2020-07-22 07:22:25
问题 I am trying to get the one tap to appear when the user clocks sign in, The below code works just fine when It runs as soon as the page loads but if I try to get it run on click then I get the error suppressed_by_user error I don't have an advert blocking plugin running and I don't know what suppressed_by_user could mean? docs here detail the error but don't explain what caused it or how to fix it. <script src="https://accounts.google.com/gsi/client"></script> ... const signin = () => { const

Android: Google Drive onActivityResult() getting resultCode 0 (RESULT_CANCELED)

北战南征 提交于 2020-06-16 12:05:18
问题 I've been scouring the Google documentation and sample code and Stack Overflow for a solution to this, and while I've seen a number of people running into the same symptoms I haven't found anything that helps in my particular case. Basically I'm trying to do an auth workflow for the Google Drive REST API, and while I get as far as the Google account selection page, when it returns to my calling activity, I'm always seeing a result of RESULT_CANCELED (i.e., 0) instead of RESULT_OK (i.e., -1),

Android: Google Drive onActivityResult() getting resultCode 0 (RESULT_CANCELED)

限于喜欢 提交于 2020-06-16 12:03:29
问题 I've been scouring the Google documentation and sample code and Stack Overflow for a solution to this, and while I've seen a number of people running into the same symptoms I haven't found anything that helps in my particular case. Basically I'm trying to do an auth workflow for the Google Drive REST API, and while I get as far as the Google account selection page, when it returns to my calling activity, I'm always seeing a result of RESULT_CANCELED (i.e., 0) instead of RESULT_OK (i.e., -1),