This repository contains the code used along with Keith Casey's LinkedIn Learning course called "Web Security: OAuth and OpenID Connect". Without that course, these examples will make less sense but may still be usable.
The course describes how to use OAuth and OpenID Connect and walks you through various use cases and examples. While many OAuth Authorization Servers - both open source and commercial - will let you complete the course, this repository includes two open source options with fully functional examples.
Basic install and configuration instructions are included in the README in each directory. Depending on which sample you are running, follow them completely.
This repository is a combination of a handful of projects, each subject to their own license.
The php_oauth_server folder is the examples folder from Alex Bilbie's league/oauth2-server available here: https://github.com/thephpleague/oauth2-server
The js_oauth_server folder is the oauth2orize-examples repository from Gerges Beshay available here: https://github.com/mohd7469/oauth2orize-examples/
The unique additions outside of those projects are shared under an MIT license by Keith Casey.