google-oauth2

Google OAuth 2.0 “error” : “redirect_uri_mismatch”

安稳与你 提交于 2019-12-03 09:04:53
问题 I spend already one day, crashed one glass and I am really angry about it, I do not understand what google want from me, and what is wrong. I've enabled Google+ Api in developers console , created new OAuth Client ID $ch = curl_init('https://accounts.google.com/o/oauth2/token'); curl_setopt($ch,CURLOPT_POSTFIELDS,'code=4%2FPp1GWqC6PIr3wNYrZ5kK4T9oitxBoo0fBqBrVNQfE-g.ElKDUjQ7E28SoiIBeO6P2m-0RPaolgI&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fmyprivatedomain.local.com

What does “offline” access in OAuth mean?

主宰稳场 提交于 2019-12-03 05:33:50
问题 What exactly does the word "offline" mean with regard to the offline access granted by an OAuth server? Does it mean that the resource server will return data about the user even when the user is logged out of the third-party application or when the user is logged out of the OAuth resource server such as Facebook or Google or Twitter? 回答1: Offline access is IMO a really bad name for it, and I think its a term only Google uses its not in the RFC for Oauth as far as I remember. What is Google

“Integrate with Google” button suddenly disappeared (receiving 404)

混江龙づ霸主 提交于 2019-12-03 00:39:18
I have Google-Apps-Marketplace app in which I'm using "Integrate with Google" button to start the google OAuth2 process. For some unknown reason the button disappear today, and I'm receiving the error 404 - https://apis.google.com/marketplace/button Does anybody know if it's a temporary issue in google API, or something had changed and I need to update my app? I saw similar questions regarding the disappearance of the button from 4 years ago, however they refer there to access problems (error 403). Help will be appreciated. Sorry for the inconvenience, it was a temporary issue that has already

Google OAuth 2.0 “error” : “redirect_uri_mismatch”

非 Y 不嫁゛ 提交于 2019-12-03 00:37:34
I spend already one day, crashed one glass and I am really angry about it, I do not understand what google want from me, and what is wrong. I've enabled Google+ Api in developers console , created new OAuth Client ID $ch = curl_init('https://accounts.google.com/o/oauth2/token'); curl_setopt($ch,CURLOPT_POSTFIELDS,'code=4%2FPp1GWqC6PIr3wNYrZ5kK4T9oitxBoo0fBqBrVNQfE-g.ElKDUjQ7E28SoiIBeO6P2m-0RPaolgI&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fmyprivatedomain.local.com%2Foauth2callback&client_id=%mycliet_id%&client_secret=%mysecret%'); curl_setopt($ch,CURLOPT_POST,1); curl_setopt($ch

Using google fit api from a backend server

偶尔善良 提交于 2019-12-02 20:22:36
问题 I'm writing an android application which needs to read user's fitness data (steps, calories, etc) from a back end server. this server will read the data and push notifications to android app if necessary. I managed to get the authentication part done and app is now sending the code recevied from oauth flow to the backend server (followed this example) and the server successfully exchanges the code access and refresh tokens. The problem is I did not find any resource on how to access the

Google Marketplace license api suddenly does not work

强颜欢笑 提交于 2019-12-02 19:43:43
Since approx 5:30 UTC we are receiving only this response for this api call https://www.googleapis.com/appsmarket/v2/customerLicense/ {appId}/{customer} {"error":{"errors":[{"domain":"global","reason":"forbidden","message":"Not authorized to access the application ID"}],"code":403,"message":"Not authorized to access the application ID"}} but there has not been any previous development or changes on our side and this affects all of our marketplace applications. Any ideas what is going on and how to fix/workaround this issue? This issue should now be fixed by Google. If you are still

Using google fit api from a backend server

最后都变了- 提交于 2019-12-02 08:52:36
I'm writing an android application which needs to read user's fitness data (steps, calories, etc) from a back end server. this server will read the data and push notifications to android app if necessary. I managed to get the authentication part done and app is now sending the code recevied from oauth flow to the backend server (followed this example) and the server successfully exchanges the code access and refresh tokens. The problem is I did not find any resource on how to access the fitness data from a backend server in the google samples. I found the library <dependency> <groupId>com

React native OAuth2 redirect_uri: Invalid scheme

这一生的挚爱 提交于 2019-12-02 07:17:15
问题 recently I've been learning about react native and I encountered a so farm unsolvable problem. I'm trying to authenticate using gmail OAuth2 from my app, as a redirect parameter I put myscheme://oauth the whole url looks like this: https://accounts.google.com/o/oauth2/v2/auth?response_type=token&client_id=XXXXXXXX&redirect_uri=myscheme://oauth&scope=https://www.googleapis.com/auth/spreadsheets I registered an intent-filter in my manifest.xml which looks like this: <activity android:name="

React native OAuth2 redirect_uri: Invalid scheme

◇◆丶佛笑我妖孽 提交于 2019-12-02 06:24:41
recently I've been learning about react native and I encountered a so farm unsolvable problem. I'm trying to authenticate using gmail OAuth2 from my app, as a redirect parameter I put myscheme://oauth the whole url looks like this: https://accounts.google.com/o/oauth2/v2/auth?response_type=token&client_id=XXXXXXXX&redirect_uri=myscheme://oauth&scope=https://www.googleapis.com/auth/spreadsheets I registered an intent-filter in my manifest.xml which looks like this: <activity android:name=".MainActivity" android:label="@string/app_name" android:launchMode="singleTask" android:configChanges=

Actions on Google account linking

和自甴很熟 提交于 2019-12-02 06:09:15
问题 Following documentation described here, I have account linking set up with implicit grants and find that it works well when testing with the browser / actions console, and also with the Google Home app for Android. Unfortunately on the iphone version of the app, user auth hangs most of the time. Feedback from actions on google support is that the problem is that google sign in flow is implemented in separate browser tab (window). On iphone you can't open 2 windows in SfariViewController, thus