المشاريع
عرض على GitHub
ueberauth/ueberauth_example
حول
Example Phoenix application using Überauth for authentication
الأمان والخصوصيةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلÜberauth Example
Using Überauth for authentication in Phoenix.
This project demonstrates how to use Überauth and multiple strategies to provide authentication for a Phoenix application. The project has been setup to run on Heroku can can be found at ueberauth-example.herokuapp.com.
In this example we'll use five strategies:
- Facebook (ueberauth_facebook)
- GitHub (ueberauth_github)
- Google (ueberauth_google)
- Slack (ueberauth_slack)
- Twitter (ueberauth_twitter)
- Identity (ueberauth_identity)
Setup
- Ensure the following prerequisites are met/installed:
- Erlang 23
- Elixir 1.11
Retrieve app ids and secrets and set environment variables:
- Facebook (https://developers.facebook.com)
- FACEBOOK_APP_ID
- FACEBOOK_APP_SECRET
- GitHub (https://developer.github.com)
- GITHUB_CLIENT_ID
- GITHUB_CLIENT_SECRET
- Google (https://console.developers.google.com/home)
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- Slack (https://api.slack.com/applications)
- SLACK_CLIENT_ID
- SLACK_CLIENT_SECRET
- Twitter (https://dev.twitter.com)
- TWITTER_CONSUMER_KEY
- TWITTER_CONSUMER_SECRET
- Facebook (https://developers.facebook.com)
Clone the project:
$ git clone https://github.com/ueberauth/ueberauth_example.git $ cd ueberauth_exampleFetch dependencies:
$ mix deps.get && npm install --prefix assetsRun server:
$ mix phx.serverAuthenticate at http://localhost:4000!
Configuration
See Überauth for detailed instructions.
License
Please see LICENSE for licensing details.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…