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.
- Host: GitHub
- URL: https://github.com/auth0/php-jwt-example
- Owner: auth0
- License: mit
- Created: 2013-10-25T14:31:13.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T14:25:34.000Z (over 7 years ago)
- Last Synced: 2025-04-06T03:51:01.252Z (9 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 44
- Watchers: 113
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
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.