Skip to content

A dummy oauth2 provider for coordination and testing with LEARN

Notifications You must be signed in to change notification settings

calderhayes/oauth2-dummy-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dummy PHP OAuth2 Server for testing

NOT PRODUCTION SECURE

Was running this on Ubuntu Server 16.04 in a VirtualBox VM

Used the following to install a basic LAMP stack https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

Used root/ubuntu as mysql credentials

Installed composer to get the library: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx

Used the following OAuth2 Library: https://github.com/bshaffer/oauth2-server-php/

mkdir add a vendor folder composer install

use db/build-db.sh to prep the database (create tables, load data)

And use scripts/run-dev-server.sh to launch a dev app that is exposed!

Use scripts/access-token-test.sh to see if things are running

About

A dummy oauth2 provider for coordination and testing with LEARN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published