You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a new tenant in Auth0, I no longer have access to Auth Pipeline and Rules, as the rules are going to be deprecated in 2024 and now we should start using Actions. https://auth0.com/docs/customize/rules/create-rules
I migrated the rules my self, I think they work fine. So, I was wondering if it would be possible to change the tutorial to use actions instead of rules.
hasura-jwt-claims
exports.onExecutePostLogin=async(event,api)=>{constnamespace="https://hasura.io/jwt/claims";api.accessToken.setCustomClaim(namespace,{'x-hasura-default-role': 'user',// do some custom logic to decide allowed roles'x-hasura-allowed-roles': ['user'],'x-hasura-user-id': event.user.user_id})};
I encountered the same issue. Considering that this tutorial at https://hasura.io/learn/ is the most accessible content for visitors, I believe there is a high likelihood of this issue recurring in the future. Are there any plans to revise the tutorial? Please let me know if there is anything I can do to help.
I was going through the tutorial and found myself stuck at the creation of rules in Auth0: https://hasura.io/learn/graphql/hasura/authentication/2-custom-jwt-claims-rule/
As a new tenant in Auth0, I no longer have access to Auth Pipeline and Rules, as the rules are going to be deprecated in 2024 and now we should start using Actions. https://auth0.com/docs/customize/rules/create-rules
I migrated the rules my self, I think they work fine. So, I was wondering if it would be possible to change the tutorial to use actions instead of rules.
hasura-jwt-claims
sync-users
And they need to be added to a login flow.
Thanks!
The text was updated successfully, but these errors were encountered: