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