graphql-engine/docs/graphql/manual/guides/integrations/aws-cognito.rst
2020-03-12 01:12:36 +05:30

19 lines
880 B
ReStructuredText

.. meta::
:description: Use AWS Cognito for authentication with Hasura
:keywords: hasura, docs, guide, authentication, auth, integration
.. _guides_aws_cognito:
Using AWS Cognito for authentication
====================================
.. contents:: Table of contents
:backlinks: none
:depth: 1
:local:
Cognito can be used in both :ref:`JWT mode <auth_jwt>` and :ref:`webhook mode <auth_webhooks>`.
- For JWT, `this blog post <https://hasura.io/blog/hasura-authentication-explained/#cognito>`__ contains detailed instructions.
- For webhook, a thin wrapper/webhook that implements `this spec <https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html#spec-for-the-webhook>`__ needs to be written. Boilerplates to write this webhook can be found `here <https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/auth-webhooks>`__.