Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth routes, figaro and config/initializers file updates #2531

Merged
merged 6 commits into from
Mar 23, 2018
Merged

Conversation

SidharthBansal
Copy link
Member

@SidharthBansal SidharthBansal commented Mar 23, 2018

In this pr I have added the figaro gem(so that we can encrypt the APP_ID and APP_SECRET) , added the routes so that the information from the provider such as email, username, age etc. can be returned and stored in omniauth hash and the config/initializers files for the rack middleware.
Refer #2388

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • PR body includes fixes #0000-style reference to original issue #
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.

Thanks!

@SidharthBansal
Copy link
Member Author

@jywarren can you please review it??

@PublicLabBot
Copy link

1 Message
📖 @SidharthBansal Thank you for your pull request! I’m here to help with some tips and recommendations. Please take a look at the list provided and help us review and accept your contribution! And don’t be discouraged if you see errors – we’re here to help.

Generated by 🚫 Danger

Copy link
Contributor

@sagarpreet-chadha sagarpreet-chadha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gem 'figaro' will be used extensively in future also ! Great going !

@SidharthBansal
Copy link
Member Author

Thanks @Sagarpreet

@jywarren
Copy link
Member

This is great -- i love how you're breaking this up in to small parts and checking them off!! 👍 👍

@jywarren jywarren merged commit 58af0da into master Mar 23, 2018
@SidharthBansal SidharthBansal added this to the OAUTH LOGIN milestone Jun 20, 2018
SrinandanPai pushed a commit to SrinandanPai/plots2 that referenced this pull request May 5, 2019
…2531)

* .

* configurations done Rack middleware set

* Gemfile modified

* routes modified

* Added figaro gem

* Added initializer for fb
@emilyashley emilyashley deleted the oauth_gsoc branch January 15, 2020 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants