We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't find ways to create a NON firebase or Auth0 JWT secret on: https://hasura.io/learn/graphql/hasura-auth-slack/choosing-jwt-mode/2-secret-config/
There is a way to create this secret: https://hasura.io/jwt-config but it's limited to Firebase and Auth0.
Based on the Github repo: https://github.com/hasura/learn-graphql/tree/master/services/backend/auth-server I tried to understand which format
ENCRYPTION_KEY=<replace_it_with_your_JWT_SECRET> the secret must have.
ENCRYPTION_KEY=<replace_it_with_your_JWT_SECRET>
Can you recommend me a way to generate an own secret like this? What's are the CLI commands to do this?
"-----BEGIN CERTIFICATE----- MIIDDTCAfWgAwIBAgIJhNlZ11IDrxbMA0GCSqSIb3DQEBCwUAMCQxIjAgBgNV BAMTGXlc3QtaGdlLWp3C5ldS5hdXRoMC5jb20HhcNMTgwNzMwMTM1MjM1WhcN MzIwND3MTM1MjM1WjAkSIwIAYDVQQDExl0ZXNLWhnZS1qd3QuZXUuYXV0aDAu Y29tMIBIjANBgkqhkiGw0BAQEFAAOCAQ8AMIICgKCAQEA13CivdSkNzRnOnR5 ZNiReD+AgbL7BWjRiw3RwjxRp5PYzvAGuj94yR6LRh3QybYtsMFbSg5J7fNq6 Ld6yMpMrUu8CBOnYY456b/2jlf+Vp8vEQuKvPOOw8Ev6x7X3blcuXCELSwyL3 AGHq9OP2RV6V6CIE863zzuYH5HDLzU35oMZqogJVRJM0+6besH6TnSTNiA7xi BAqFaiRNQRVi1CAUa0bkN1XRp4AFy7d63VldOsM+8QnCNHySdDr1XevVuq6DK LQyGexFy4niALgHV0Q7A+xP1c2G6rJomZmn4j1avnlBpU87E58JMrRHOCj+5m Xj22/QDAQABo0IwQDAPgNVHRMBAf8EBTADAQHMB0GA1UdDgQWBBT6FvNkuUgu tk3OYQi4lo5aOgwazAOgNVHQ8BAf8EBAMCAoQDQYJKoZIhvcNAQELBQADggEB ADCLj+L22pEKyqaIUlhUJh7DAiDSLafy0fw56CntzPhqiZVVRlhxeAKidkCLV r9IEbRuxUoXiQSezPqM//9xHegMp0f2VauVCFg7EpUanYwvqFqjy9LWgH+SBz 4uroLSZ5g1EPsHtlArLChA90caTX4e7Z7Xlu8G2kHRJB5nC7ycdbMUvEWBMeI tn/pcbmZ3/vlgj4UTEnURe2UPmSJpxmPwXqBcvwdKHRMgFXhZxojWCi0z4ftf f8t8UJIcbEblnkYe7wzYy8tOXoMMHqGSisCdkp/866029rJsKbwd8rVIyKNC5 frGYaw+0cxO6/WvSir0eA= -----END CERTIFICATE----- "
The text was updated successfully, but these errors were encountered:
@theuybv - You can use ssh-keygen to generate a public/private key pair.
ssh-keygen
ssh-keygen -t rsa -P "" -b 4096 -m PEM -f jwtRS256.key ssh-keygen -e -m PEM -f jwtRS256.key > jwtRS256.key.pub
And use it to configure HASURA_GRAPHQL_JWT_SECRET like:
HASURA_GRAPHQL_JWT_SECRET
{"type": "RS256", "key": "<output_of_jwtRS256.key.pub_escaped>" }
Sorry, something went wrong.
No branches or pull requests
I can't find ways to create a NON firebase or Auth0 JWT secret on: https://hasura.io/learn/graphql/hasura-auth-slack/choosing-jwt-mode/2-secret-config/
There is a way to create this secret: https://hasura.io/jwt-config but it's limited to Firebase and Auth0.
Based on the Github repo: https://github.com/hasura/learn-graphql/tree/master/services/backend/auth-server I tried to understand which format
ENCRYPTION_KEY=<replace_it_with_your_JWT_SECRET>
the secret must have.Can you recommend me a way to generate an own secret like this? What's are the CLI commands to do this?
The text was updated successfully, but these errors were encountered: