Home

Awesome

Pragmatic Authentication Library: Cowboy example

The example using Pragmatic Authentication Library with Cowboy HTTP server.

Overview

The project contains examples of authentication via:

To execute the examples on the your local machine you need to:

Getting started

  1. Build and start the application:

     $ make && ./_rel/pal_example/bin/pal_example console
    
  2. Open the URI in your browser:

    • Google: https://localhost:8081/examples/oauth2/google
    • Facebook: https://localhost:8081/examples/oauth2/facebook

See pal project for more information.

License

The source code is provided under the terms of the MIT license.