google-authentication

Not returning refresh token from auth code

只愿长相守 提交于 2019-12-22 05:59:07
问题 I'm using googleapis package from node to get refresh token and access token from auth code passed from front-end but every time I get the following error. { error: 'redirect_uri_mismatch', error_description: 'Bad Request' } I know this error comes up when we mismatch URL passed as a callback URL in the console. https://console.cloud.google.com/apis/credentials but I've already set up the correct URL in the console. still not sure what's the problem with the code. Using /auth to pass the

How to force an HTTPS callback using Microsoft.AspNetCore.Authentication.Google?

蹲街弑〆低调 提交于 2019-12-21 19:44:11
问题 I am creating an AspNetCore application with Google authentication. I am deploying this app behind an nginx reverse proxy on an Ubuntu server. Almost everything is working, but I am having trouble with the callback url. In the Google developer console, I have http://localhost:5000/signin-google set as an authorized redirect URI. This works as expected and allows me to use Google authentication when running from my workstation. For production, I have https://myserver/signin-google set as an

Google Services Plugin cannot function without google-services.json

邮差的信 提交于 2019-12-21 13:35:32
问题 File google-services.json is missing. The Google Services Plugin cannot function I get this error code since I deleted my google-services.json file from my project. Now the obvious way to solve this issue would be to include it again, but I had a reason to remove it. "Note: If you enabled only Google Sign-In when you generated the configuration file, you can skip this step. Google Sign-In does not require the configuration file to be included in your project—generating the file performs the

Save information immediately after Google login in Azure Mobile Services (.NET Back-end)

∥☆過路亽.° 提交于 2019-12-21 06:46:32
问题 What I basically want to be able to do is authenticate to azure mobile services (using google or some other provider), and immediately save some of the user information (i.e. email address) on the server. I know I could call a custom method from the app after authentication, but I was hoping to have some hook to do this straight after the google login on the server side. Is this possible? How do I do it?! 回答1: This is currently only possible in the .NET runtime. If using the Node runtime, you

Save information immediately after Google login in Azure Mobile Services (.NET Back-end)

梦想的初衷 提交于 2019-12-21 06:46:17
问题 What I basically want to be able to do is authenticate to azure mobile services (using google or some other provider), and immediately save some of the user information (i.e. email address) on the server. I know I could call a custom method from the app after authentication, but I was hoping to have some hook to do this straight after the google login on the server side. Is this possible? How do I do it?! 回答1: This is currently only possible in the .NET runtime. If using the Node runtime, you

iOS: Google Authentication Code

元气小坏坏 提交于 2019-12-20 23:32:15
问题 I am working with authenticating user to use the google account he is associated with. The problem is that everytime the user logs in through my app, the "Allow Access" always appears on the Google's authentication view even I had clicked the Allow Access already from previous test. Is this normal or am I doing my codes wrong? Please help me guys. I used the following codes for loggin in an out: - (IBAction)signIn:(id)sender { if(!isSignedIn){ [self signOutFromAll]; NSString *keychainItemName

How to Log User out of an App that uses Google OAuth2 Sign-In?

扶醉桌前 提交于 2019-12-20 02:59:10
问题 I've implemented a Google OAuth2 login flow in my web-server app (using python/flask). My app redirects the user to Google, where they sign in with Google credentials and get directed back to my app. I'm having trouble deciding how to implement the Logout functionality for this app. I can clear the app's session cookies, but that doesn't log the user out of their Google a/c. So if the user hits Login after logging out, the redirect goes to Google and since the user is still signed into Google

Limit Firebase Google OAuth Authentication to specific users

江枫思渺然 提交于 2019-12-19 17:12:36
问题 I'm using Firebase to handle my Google OAuth login for my website. Does anyone knew how to restrict the users who have access to the application? For example, I only want x@gmail.com, y@gmail.com, and z@gmail.com to successfully be able to log in via google to my application. I wasn't sure if this was a Firebase or Google question, but any help would be much appreciated. 回答1: Firebase's authentication handles only that: the authentication of users through any of the mechanisms you enable.

Not getting the email using Google Authentication in Firebase

自作多情 提交于 2019-12-19 06:31:51
问题 I am using the code provided by Firebase for Google Authentication and somehow, the authentication was successful but the email was not correctly imported to Firebase. https://firebase.google.com/docs/auth/ios/google-signin As you can see in the screenshot below, the email is blank. When I looked at the debugger, it is showing nil. I clicked allow viewing email during authentication but I think there are still some settings that was not done correctly. Could someone help me to take a look? I

Not getting the email using Google Authentication in Firebase

限于喜欢 提交于 2019-12-19 06:31:16
问题 I am using the code provided by Firebase for Google Authentication and somehow, the authentication was successful but the email was not correctly imported to Firebase. https://firebase.google.com/docs/auth/ios/google-signin As you can see in the screenshot below, the email is blank. When I looked at the debugger, it is showing nil. I clicked allow viewing email during authentication but I think there are still some settings that was not done correctly. Could someone help me to take a look? I