Giter VIP home page Giter VIP logo

redux-saga-social-login's Introduction

redux-saga-social-login

Standard Style Build Status Coverage Status

This is an example on how to implement Facebook and Google login with redux-saga

redux-saga mov

It took me a while to figure it out. I'm just putting this code here so I can help other people since I've never found anything similar.

Feel free to open an issue or send a PR if you find a bug or think something could be written in a different way.

This project was created with ARc/redux. Take a look there if you want to learn more about the project's structure.

Download

Just clone the repository and remove the .git folder:

$ git clone https://github.com/diegohaz/redux-saga-social-login
$ cd redux-saga-social-login
$ rm -rf .git
$ npm install # or yarn

Usage

You need to grab a Google Client ID and a Facebook App ID and put them into src/containers/App.js:

const googleClientId = 'GOOGLE_CLIENT_ID.apps.googleusercontent.com'
const facebookAppId = 'FACEBOOK_APP_ID'

Then, just use npm start and open http://localhost:3000

Sagas are located in src/store/social/sagas.js.

License

MIT Β© Diego Haz

redux-saga-social-login's People

Contributors

diegohaz avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redux-saga-social-login's Issues

An in-range update of babel-eslint is breaking the build 🚨

Version 7.2.1 of babel-eslint just got published.

Branch Build failing 🚨
Dependency babel-eslint
Current Version 7.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As babel-eslint is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Commits

The new version differs by 6 commits .

  • 3cda62e 7.2.1
  • 5626de1 Remove left over eslint 2 estraverse code (#452)
  • b5fb53b Fix type param and interface declaration scoping (#449)
  • f1cee0f Remove lodash dependency (#450)
  • eb05812 Format non-regression errors for legibility (#451)
  • 7972a05 Update README.md with codeFrame option (#448)

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of eslint-plugin-react is breaking the build 🚨

Version 6.10.1 of eslint-plugin-react just got published.

Branch Build failing 🚨
Dependency eslint-plugin-react
Current Version 6.10.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint-plugin-react is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes v6.10.1

Fixed

Commits

The new version differs by 11 commits .

  • ab03af8 Update CHANGELOG and bump version
  • b646485 Merge pull request #1089 from benstepp/bs-multicomp-false-positives
  • c038899 Bug fix for false positives with no-multi-comp
  • 8148833 [Fix] Update void-dom-elements-no-children createElement checks
  • c45ab86 Merge pull request #1081 from webOS101/jsx-indent-fix
  • 7863a5c Fix jsx-indent single line jsx
  • 416deff Update void-dom-elements-no-children
  • 22f3638 Merge pull request #1077 from iancmyers/fix-jsx-indent-template-conditional
  • c6f4a5e Fix error caused by templates in ConditionalExpressions (jsx-indent)
  • a4b6a85 Merge pull request #1058 from kentcdodds/pr/jsx-indent-tabs-fix
  • 6e5f688 [Fix] jsx-indent with tabs (fixes #1057)

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

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.