An open API service indexing awesome lists of open source software.

https://github.com/auth0/php-jwt-example

Php JWT example.
https://github.com/auth0/php-jwt-example

Last synced: 6 months ago
JSON representation

Php JWT example.

Awesome Lists containing this project

README

          

# php-jwt-example

This is an example of how to decode Auth0's generated tokens in PHP.

It uses [firebase/php-jwt](https://github.com/firebase/php-jwt).

You have to Base64 url decode your client secret in order to validate.

## Usage Instructions

1. Install the dependencies with [Composer](https://getcomposer.org): `$ composer install`
2. Run: `$ php test.php`

See for code examples.

## Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.

## Author

[Auth0](auth0.com)

## License

This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.