hypejunction/hypeapi

JWT support for Elgg

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 0

Type:elgg-plugin

pkg:composer/hypejunction/hypeapi

1.0.1 2019-08-22 13:43 UTC

This package is auto-updated.

Last update: 2025-09-23 03:40:05 UTC


README

Elgg 3.0

JWT token exchange and auth

Features

  • 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

Usage

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

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