Code Monkey home page Code Monkey logo

Comments (8)

thomasvl avatar thomasvl commented on June 9, 2024

Without more info, there really isn't any way to say what is wrong. What are you trying to do? Which client? etc. The fetchers have built in support for logging, posting a failed request can help show what you are doing.

from gdata-objectivec-client.

iOsMechanic avatar iOsMechanic commented on June 9, 2024

2016-11-21 08:11:00 +0000 elapsed: 1.281sec
Request: GET https://spreadsheets.google.com/feeds/spreadsheets/private/full
Request headers:
Accept: application/atom+xml, text/xml
Cache-Control: no-cache
Content-Type: application/atom+xml; charset=utf-8
GData-Version: 3.0
User-Agent: com.example.SpreadsheetSample/1.0 GData-ObjectiveC/1.12 MacOSX/10.10.5 (gzip)

Response: status 401
Response headers:
Alt-Svc: quic=":443"; ma=2592000; v="36,35,34"
Cache-Control: private, max-age=0
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Mon, 21 Nov 2016 08:11:00 GMT
Expires: Mon, 21 Nov 2016 08:11:00 GMT
P3P: CP="This is not a P3P policy! See https://support.google.com/accounts/answer/151657?hl=en for more info.", CP="This is not a P3P policy! See https://support.google.com/accounts/answer/151657?hl=en for more info."
Server: GSE
Set-Cookie: NID=91=MiLHHwq7x8AwsOUW269ZjHSZpH8OHZh7WqW0nuR5iMpzc4UpRdFjlIX9Ht7RSZeFD3VAgO4FvivRP5Jq7uoQC2pItNDhSt9BgB-Uo4jECm6HQa34rxO1OWt-qqDxjtbT;Domain=.google.com;Path=/;Expires=Tue, 23-May-2017 08:11:00 GMT;HttpOnly, NID=91=seRUBEPajTHOqNYJUb5MzHshshQ1UF_8plYVuPubzKX6sfkUO7T6XFEsCOnnCcsUf3AwmkOaKMrmJa6AQs6Arsilz6IMYym4KXDNhfPSF-q2Q9sFGLkRjJV0dBRSeDPP;Domain=.google.com;Path=/;Expires=Tue, 23-May-2017 08:11:00 GMT;HttpOnly
Transfer-Encoding: Identity
Www-Authenticate: AuthSub realm="https://www.google.com/accounts//AuthSubRequest"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
x-chromium-appcache-fallback-override: disallow-fallback

Response body: (213 bytes)

<TITLE>Token invalid - AuthSub token has wrong scope</TITLE>

Token invalid - AuthSub token has wrong scope

Error 401

from gdata-objectivec-client.

thomasvl avatar thomasvl commented on June 9, 2024

Client Login is no logger supported on Google properties, you need to do OAuth 2 flows. https://github.com/google/gdata-objectivec-client/wiki#authentication-and-authorization

from gdata-objectivec-client.

iOsMechanic avatar iOsMechanic commented on June 9, 2024

@thomasvl Could u post some gist/example on how to add Contacts coz the support for webviews are gone from server side and all sample code are obselete.
So could you share some example for google signin sdk?

from gdata-objectivec-client.

thomasvl avatar thomasvl commented on June 9, 2024

Timing wise things just changed, making this a little more complete. You'll want to look at using https://github.com/google/GTMAppAuth. It can create an authorizer that can be used with this library. We're working through updating the samples in all the projects that used to use gtm-oauth2, but it isn't done yet.

from gdata-objectivec-client.

paul909090 avatar paul909090 commented on June 9, 2024

@thomasvl Is your update done today?

from gdata-objectivec-client.

thomasvl avatar thomasvl commented on June 9, 2024

Looks like the teams have done some a few updates, but not all, and it doesn't like some that were done were pushed out. I'll bug some folks.

from gdata-objectivec-client.

paul909090 avatar paul909090 commented on June 9, 2024

Ok thanks! Keep me in touch

from gdata-objectivec-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.