Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 826 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 826 Bytes

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