Giter VIP home page Giter VIP logo

Comments (4)

wayne-o avatar wayne-o commented on July 18, 2024

As an update here is a new Q:

http://stackoverflow.com/questions/27890654/ember-simple-auth-and-torii

Basically - torii authenticates the client and I get the auth code. From within torii's callback I am sending a request to api/auth/facebook_oauth2?code={{some-auth-code-from-FB}}

But I always get the error telling me the authcode is not valid...

Am I doing this right? Is there another code I should be sending to that URL?

from waterlock-facebook-auth.

wayne-o avatar wayne-o commented on July 18, 2024

I have figured that there is no /access_token endpoint for the client to send an access_token to to allow the api to auth that way (IOW using this workflow https://developers.facebook.com/docs/facebook-login/access-tokens?locale=en_GB#authClientServer) I am creating a PR that takes care of this - just wondering if there was a reason it wasn't included initially? i.e. am I wasting my time because i don't fully understand how this stuff works or would this be useful?

from waterlock-facebook-auth.

duhruh avatar duhruh commented on July 18, 2024

Hey thanks! Yea this module was a WIP i simply implemented the most basic oauth structure to allow facebook to authenticate. Sorry i've been busy lately, any pr you send would be much appreciated! 👍

from waterlock-facebook-auth.

wayne-o avatar wayne-o commented on July 18, 2024

I've jigged some things about and moved it to master - hope that's ok. How can we get this stuff pushed to NPM?

Also - I seem to be reaping havoc on your coverage - I'll take a stab at fixing that over the weekend

from waterlock-facebook-auth.

Related Issues (9)

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.