Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ernanej/social-authentication
Application developed in Ruby on Rails as a template to perform user authentication through their social networks. In this system, the following networks were used as a form of authentication, in addition, of course, to the creation of a standard user with email and password: Facebook, Github and Google.
https://github.com/ernanej/social-authentication
authentication authentication-backend authentication-ruby devise oauth2 omniauth omniauth-facebook omniauth-github omniauth-google-oauth2
Last synced: about 2 months ago
JSON representation
Application developed in Ruby on Rails as a template to perform user authentication through their social networks. In this system, the following networks were used as a form of authentication, in addition, of course, to the creation of a standard user with email and password: Facebook, Github and Google.
- Host: GitHub
- URL: https://github.com/ernanej/social-authentication
- Owner: ErnaneJ
- Created: 2021-07-07T23:43:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-18T15:43:11.000Z (over 3 years ago)
- Last Synced: 2024-10-24T21:59:00.390Z (3 months ago)
- Topics: authentication, authentication-backend, authentication-ruby, devise, oauth2, omniauth, omniauth-facebook, omniauth-github, omniauth-google-oauth2
- Language: Ruby
- Homepage: https://social-network-authentication.herokuapp.com/users/sign_in
- Size: 390 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Social Authentication
## 🚀 Technologies
This application was developed with the following technologies:
- Ruby
Gems:
- Rails
- devise
- omniauth
- omniauth-github
- omniauth-facebook
- omniauth-google-oauth2
- omniauth-rails_csrf_protection## 💻 Project
Application developed in Ruby on Rails as a template to perform user authentication through their social networks. In this system, the following networks were used as a form of authentication in addition, of course, to the creation of a default user with email and password.* [x] Authentication with Google
* [x] Authentication with Github
* [x] Authentication with Facebook
## 💡 Use- Clone the repository:
```bash
$ git clone https://github.com/ErnaneJ/Social-Authentication.git
```- Install the dependencies
```bash
$ bundle install
```
- Generate your application on the platform.
- Github
- Take the Client ID and Client Secret and put them in an .ENV file.
_See the example._- Start a server on localhost
```bash
$ Rails s
```
_Note: The facebook documentation does not allow the execution of applications linked to facebook without ssl certificate. To enable ssl on localhost generate an ssl key and run rails with it._```bash
$ openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout localhost.key -out localhost.crt$ pwd
=> copy path$ rails s -b 'ssl://localhost:3000?key=/PATH/localhost.key&cert=/PATH/localhost.crt'
```
_Read more about it here._## 📚 Documentation:
- Github---
Developed with ❤ by Ernane Ferreira. 👋🏻
Project carried out in support of the company Real Seguro Viagem in its internship process.