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
Authentication Service - Hasura Plugin
Hasura Plugin, Authentication Service has been specially developed.
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"] |