JSPM

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

1.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q38493F
  • License MIT

Package Exports

  • @brewww/authentication-service-hasura-claims-plugin
  • @brewww/authentication-service-hasura-claims-plugin/dist/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@brewww/authentication-service-hasura-claims-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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"]