Giter Club home page Giter Club logo

zend-expressive-oauth2-server's Introduction

The PHP League OAuth2 Server For Zend Expressive

Installation

  • Run composer install in this directory to install dependencies
  • Create a private key openssl genrsa -out private.key 1024
  • Create a public key openssl rsa -in private.key -pubout > public.key
  • Create data/cache and data/db folders for doctrine cache and SQLite DB file.
  • Copy config/autoload/doctrine.local.php.dist file as config/autoload/doctrine.local.php and configure yoru database
  • Initialize your database vendor/bin/doctrine orm:schema-tool:create
  • Now you should create a sample user and client to simulate example oauth actions. Please run data/samples/sample_data.sql file.
  • Run your server with composer serve
  • Use data/samples/postman_collection.json file to execute sample requests with Postman.

Some Important Information

For my opinion, Some of the OAuth entities should be moved to redis or similar key value fast storage. Otherwise, your API or application can be slower than your expectation. Please contact with me.

Requests

Check the The PHP League Example Page

zend-expressive-oauth2-server's People

Contributors

hkulekci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zend-expressive-oauth2-server's Issues

Full installation guide

Is it possible to have a full installation guide inside the README file
with all the steps explained?
Actually I'm stuck at the doctrine db creation.

Thank you

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.