@brewww/authentication-service-hasura-claims-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Brew Logo

Authentication Service - Hasura Plugin

Hasura Plugin, Authentication Service has been specially developed.

NPM Version Package License NPM Downloads

Instagram Linkedin Twitter

Purpose

The plugin allows you to create the token structure that hasura needs. The fields required by the hasura in the token and added by the plugin are as follows in the table below;

Name Example Value
x-hasura-user-id 1
x-hasura-username example-name
x-hasura-email info@brewww.com
x-hasura-default-role user
x-hasura-allowed-roles ["user", "admin"]

Readme

Keywords

Package Sidebar

Install

npm i @brewww/authentication-service-hasura-claims-plugin

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

172 kB

Total Files

17

Last publish

Collaborators

  • mfozmen
  • demir.brew
  • gokceno
  • ismetkizgin