graphql-engine/docs/graphql/manual/guides/integrations/aws-cognito.rst
2019-10-26 09:35:58 +05:30

15 lines
770 B
ReStructuredText

.. _aws_cognito:
Using AWS Cognito for authentication
====================================
.. contents:: Table of contents
:backlinks: none
:depth: 1
:local:
Cognito can be used in both :doc:`JWT mode <../../auth/authentication/jwt>` and :doc:`webhook mode <../../auth/authentication/webhook>`.
- For JWT, `this blog post <https://blog.hasura.io/hasura-authentication-explained/#cognito>`__ contains detailed instructions.
- For webhook, a thin wrapper/webhook that implements `this spec <https://docs.hasura.io/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>`__.