Closed rodrigopavezi closed 2 months ago
The changes involve updating the authentication mechanism for the GraphQL client in the application. The previous method of using an admin secret has been replaced with a Bearer token in the Authorization
header, sourced from an environment variable. Additionally, a new header specifying the client's role has been introduced.
Files | Change Summary |
---|---|
src/lib/graphQlClient.ts |
Updated headers for GraphQL client: replaced x-hasura-admin-secret with Authorization (Bearer token) and added x-hasura-role with value request-scan . |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Change:
Summary by CodeRabbit
New Features
Bug Fixes