hypeJunction / hypeApi

JWT token exchange and auth for Elgg 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hypeApi

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]

About

JWT token exchange and auth for Elgg 3


Languages

Language:PHP 65.7%Language:JavaScript 34.3%