Coder Social home page Coder Social logo

Comments (7)

simov avatar simov commented on May 18, 2024

That's weird, access_token is literally taken from what you can see as raw, which seems to have it. I will have to test it on my end.

from grant.

simov avatar simov commented on May 18, 2024

I was just about to say that it works on my end, can you try adding tokens in:

response: ["tokens", "profile"],

from grant.

SunburntRock89 avatar SunburntRock89 commented on May 18, 2024

I was just about to say that it works on my end, can you try adding tokens in:

response: ["tokens", "profile"],

Yep, that fixed it, thanks!

from grant.

simov avatar simov commented on May 18, 2024

That seems like a bug to me though, I will have to take a look.

from grant.

SunburntRock89 avatar SunburntRock89 commented on May 18, 2024

As far as I read into it, output is just whatever is going to be given to the transport (ie saved in session).

So if you've got the tokens response, there'll be access_token in the response, but if you don't, output.access_token is undef and so you end up with grant sending the header:

authorization: Bearer undefined

from grant.

simov avatar simov commented on May 18, 2024

That's true, but having just the profile as response option seems like a valid use case to me. It's just that I am not forwarding the token there.

from grant.

SunburntRock89 avatar SunburntRock89 commented on May 18, 2024

Fair enough

from grant.

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.