Skip to content

jcubic/php-terminal-jwt

Repository files navigation

JWT and jQuery Terminal demo

This is a demo of JWT tokens using with jQuery Terminal JSON-RPC feature. The PHP code use Firebase JWT library and implements Access and Refresh tokens. The code also use json-rpc.php for JSON-RPC implementation.

Usage

To use this code:

  1. Run composer install (composer need to be installed on your system)
  2. Copy .env.example to .env and set username, password, secrets, and the rest of the configuration

To test this in action you can check: https://terminal.jcubic.pl/jwt/ The username and password is default (demo:demo).

License

Licensed under MIT license
Copyright (c) 2023 Jakub T. Jankiewicz

Releases

No releases published

Packages

No packages published