FM_JWTSignOn

FM_JWTSignOn is a FiLMS module that allows silent login using JWT based authentication. The API grabs the encoded token and authenticates it using HS256 algorithm.

Installation & Configuration

Installation

Install FM_JWTSignOn non-globally.

Application Settings

  • FM_JWTSignOn Key: Pre-shared key. You can use this to generate one (I've picked the 63 random alpha-numeric characters).
  • FM_JWTSignOn Redirect Login Page: Relative URL to redirect users to the login page if silent login has failed.

Usage

See API Documentation.

To generate the token, use this instead. The editor (debugger) allows you to change the secret key (under Signature panel) and payload data.

FAQ

  1. If I were to set the flag "createNew=true" for an existing FiLMS user, will it create another duplicate FiLMS user account?
    1. No, it won't create a duplicate user account. The flag "createNew=true" will simply create a new user account if there's no matching username found in FiLMS.

Documentations for Clients