Giter Site home page Giter Site logo

Comments (6)

TimHess avatar TimHess commented on May 19, 2024

I'd like to help with this one

from allready.

bcbeatty avatar bcbeatty commented on May 19, 2024

Do you need to provide the secretKey for a facebook login? On another app I'm working on I'm not using the secretKey just the AppId, which is public. But I'm still running on local emulators.
Ionic has OpenId Providers as part of its framework.

from allready.

bcbeatty avatar bcbeatty commented on May 19, 2024

Here's javascript code snip it for facebook login using cordovaOauth

 $cordovaOauth.facebook(appKeys.appId, ["email", "user_friends, user_location, user_posts, user_photos"]).then(function (result) {
                    console.info("login success");
                    $localStorage.accessToken = result.access_token;

                    q.resolve($localStorage.accessToken);
                }, function (error) {                 
                    console.error(error);
                    alert("There was a problem signing in!  See the console for logs\n" + error);
                    q.reject(error);
                });
 return q.promise;

from allready.

MisterJames avatar MisterJames commented on May 19, 2024

@tonysurma I think an easy strategy here would be to include a quick readme for setting this up. UserSecrets is pretty easy to get going. I could write this.

They would need to, of course, create their own apps/app secret keys to make this work, but that isn't an insurmountable task.

from allready.

tonysurma avatar tonysurma commented on May 19, 2024

great thanks!

from allready.

BillWagner avatar BillWagner commented on May 19, 2024

I believe this has been addressed by the work where we implemented the 3rd party OAuth work. Can @MisterJames or @tonysurma re-open if I'm mistaken.

from allready.

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.