Skip to content

Discourse Auth support for JSON Web Tokens (JWT)

License

Notifications You must be signed in to change notification settings

arivanandan/discourse-jwt

This branch is 18 commits ahead of, 27 commits behind discourse/discourse-jwt:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1600f08 · Oct 24, 2021

History

33 Commits
Feb 10, 2020
Jan 31, 2020
Sep 11, 2015
Sep 11, 2015
Jan 31, 2020
Oct 24, 2021

Repository files navigation

discourse-jwt

A Discourse Plugin to enable authentication via JSON Web Tokens (JWT).

In the first instance, consider using Discourse's OpenID Connect or OAuth2 plugins. These authentication standards are more mature, and include more security features.

Configuration

This plugin provides three site settings for configuration. You must provide all three in your admin panel for the authentication to work correctly:

  • jwt_enabled
  • jwt_secret
  • jwt_auth_url

Alternatively, you can supply values for these settings via environment variables. Add the following settings to your app.yml file in the env section:

  • DISCOURSE_JWT_SECRET
  • DISCOURSE_JWT_AUTH_URL

License

MIT

About

Discourse Auth support for JSON Web Tokens (JWT)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%