This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

JWT support for Elgg

1.0.1 2019-08-22 13:43 UTC

This package is auto-updated.

Last update: 2021-08-22 18:23:47 UTC


Elgg 3.0

JWT token exchange and auth


  • Provides basic login, logout and refresh token endpoints
  • Provides middleware to verify JWT token when accessing routes
  • Provides a foundation to build out new API resources


Make sure Apache handles Authorization headers. Add the following to your .htaccess

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]