An open API service indexing awesome lists of open source software.

https://github.com/cba85/php-social-oauth

🔐 Social auth example app
https://github.com/cba85/php-social-oauth

php social-authentication

Last synced: 10 days ago
JSON representation

🔐 Social auth example app

Awesome Lists containing this project

README

          

# Social authentification example

> For demonstration purpose only

Using github and Facebook OAuth services.

## Install

```bash
$ composer install
```

## Usage

Enter your credentials in `.env` file.

🚨 You must serve an https url to use Facebook OAuth services. You should use [Laravel Valet](https://laravel.com/docs/valet).

```bash
$ composer run serve
```

## OAuth services

### Github

https://docs.github.com/en/free-pro-team@latest/developers/apps/authorizing-oauth-apps

### Facebook

https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow?locale=fr_FR