Coder Social home page Coder Social logo

ethanliew / laravel5-oauth2-server- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mshanak/laravel5-oauth2-server-

0.0 1.0 0.0 412 KB

laravel5 project with token based security , ready to use with sample data

Home Page: https://medium.com/@mshanak/laravel-5-token-based-authentication-ae258c12cfea

PHP 88.06% JavaScript 0.53% HTML 11.41%

laravel5-oauth2-server-'s Introduction

Laravel PHP Framework with oAuth2.0 server ready to use

this scafold project based on [PHP OAuth 2.0 Server for Laravel] (https://github.com/lucadegasperi/oauth2-server-laravel)

  1. clone this project git clone https://github.com/mshanak/Laravel5-oauth2-server-.git foldername

  2. tell composer to download the required libraries composer update

  3. configure database setting in ".env" file

  4. then run " php artisan migrate " , if "Nothing to migrate." message apeared , run " php artisan migrate:reset "

  5. run " php artisan db:seed " to add test client and user

  6. to test the server run php artisan serve , then in REST Client ( eg. postman ) , make a POST request to ( http://localhost:8000/oauth/access_token )

##note when using MAMP or work in lenux , you need the change the project folder Owner or the folder permition , you can use chmod -R 777 * ( in Development ONLY )

###test user:
username=[email protected]
password = password

client App :
grant_type=password
client_id = GXvOWazQ3lA6YSaFji
client_secret =GXvOWazQ3lA.6/YSaFji

screenshot: secreenshot

laravel5-oauth2-server-'s People

Contributors

mshanak avatar

Watchers

 avatar

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.