GithubHelp home page GithubHelp logo

zerrtech / openid-connect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rkowen/openid-connect

0.0 3.0 0.0 11 KB

We just need some tweaks and updates here...

License: GNU General Public License v2.0

PHP 100.00%

openid-connect's Introduction

OpenID-Connect

================

An OpenID-Connect image build directory that links to the "official" PostgreSQL image container.

This repository is a Docker image build directory maintained by R.K. Owen, Ph.D. [email protected]

It's assumed you have some passing knowledge of Docker containers and how to use them. If not then browse http://docs.docker.com/ and try them out for yourself.

Also it's assumed some knowledge of the PostgreSQL relational database and its tools.

The PostgreSQL-xxx images rely on the "official" PostgreSQL Docker image, which can be downloaded to your local set of images with:

	docker pull postgres:9.3.4

PostgreSQL-prep

You will need to run the postgres-prep docker image to create a user and database. View that image's documentation for details.

Once the PostgreSQL image and preparation are complete then an OpenID Connect container can be started pointing the localhost port 4180 to port 80 (http) of the container. Use can use whatever localhost port you want.

docker run --name openid-connect                                        \
        --link pgsql-server:pgsql                                       \
        --detach=true                                                   \
        --publish=4080:80                                               \
        openid-connect:1.0

The server is accessible at http://localhost:4180 and here are a coupld of ways to test it out with the testclient entry:

curl    -u testclient:testpass                                          \
        http://localhost:4180/token.php                                 \
        --data 'grant_type=client_credentials'

And you should see something like:

{"access_token":"50702f4122909a6a2d4769d7b5cc1987e939605d","expires_in":3600,"token_type":"Bearer","scope":null}

Go to Brent Shaffer's step-by-step walkthrough on his PHP version of the OpenID Connect 1.0 server

http://bshaffer.github.io/oauth2-server-php-docs/cookbook/

openid-connect's People

Contributors

combatpoodle avatar rkowen avatar

Watchers

 avatar  avatar  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.