bigzhu / hasura-auth

Authentication for Hasura.

Home Page:https://nhost.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hasura Auth

Authentication for Hasura

license: MIT commitizen: friendly code style: prettier

Core Features

  • πŸ§‘β€πŸ€β€πŸ§‘ Users are stored in Postgres and accessed via GraphQL
  • πŸ”‘ Multiple sign-in methods.
  • ✨ Integrates with GraphQL and Hasura Permissions
  • πŸ” JWT tokens and Refresh Tokens.
  • βœ‰οΈ Emails sent on various operations
  • βœ… Optional checking for Pwned Passwords.
  • πŸ‘¨β€πŸ’» Written 100% in TypeScript.

Sign in methods

  • Email and Password - simple email and password method.
  • Email - also called passwordless email or magic link.
  • SMS - also called passwordless sms.
  • Anonymous - sign in users without any method. Anonymous users can be converted to regular users.
  • OAuth providers: Facebook, Google, GitHub, Twitter, Apple, LinkedIn, Windows Live, Spotify, Strava, GitLab, BitBucket, Discord, WorkOS.

Deploy Hasura Auth in Seconds

Use Nhost to start using Hasura Auth in seconds.

Using Docker-compose

git clone https://github.com/nhost/hasura-auth.git
cd hasura-auth
cp .env.example .env
docker-compose -f docker-compose-example.yaml up

Configuration

Read our configuration guide to customise the Hasura Auth settings.

Workflows

Recipes

Reference

🀝 Contributing

Contributions and issues are welcome. Please have a look at the developer's guide if you want to prepare a pull request.

Feel free to check the issues page.

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

This project is MIT licensed.

About

Authentication for Hasura.

https://nhost.io

License:MIT License


Languages

Language:TypeScript 94.9%Language:PLpgSQL 2.1%Language:Shell 0.8%Language:HTML 0.7%Language:Makefile 0.7%Language:JavaScript 0.5%Language:Dockerfile 0.3%