Video will be linked here after the webinar.
Fastest way to get started with Dgraph is to create a free Slash GraphQL account: click here.
Sign up for a free Auth0 account here: https://auth0.com
To generate a public key from a private key, use:
openssl x509 -pubkey -noout -in file_name.pem
This rule is used to inject the claims needed by Dgraph into the JWT token created by Auth0.
function (user, context, callback) {
const namespace = "https://dgraph.io/jwt/claims";
context.idToken[namespace] =
{
'USER': user.email,
};
return callback(null, user, context);
}