All Projects → DevSpeak → hasura-simple-auth

DevSpeak / hasura-simple-auth

Licence: MIT license
Simple Auth Server For Signup & Login Mutation

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to hasura-simple-auth

BoBo-Vue-Admin
😎 vue-cli (4.x) + ts + CrudTable + FormDesigner (开箱即用,企业级开发种子框架,附带表单表格生成器,一键Crud)😎
Stars: ✭ 33 (+3.13%)
Mutual labels:  auth
hapi-doorkeeper
User authentication for web servers
Stars: ✭ 14 (-56.25%)
Mutual labels:  auth
dart-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Dart/Flutter
Stars: ✭ 30 (-6.25%)
Mutual labels:  auth
ui
Laravel Livewire & Bootstrap 5 UI & CRUD starter kit.
Stars: ✭ 82 (+156.25%)
Mutual labels:  auth
blockstack.js-old
The Blockstack JS library for identity and authentication
Stars: ✭ 20 (-37.5%)
Mutual labels:  auth
hasura-django-starter
The best of Hasura's instant, realtime GraphQL API meshed with Django's built-in auth model and the ability to extend logic across the two services.
Stars: ✭ 50 (+56.25%)
Mutual labels:  hasura
hyperf-http-auth
hyperf框架http登录授权组件
Stars: ✭ 16 (-50%)
Mutual labels:  auth
actix-casbin-auth
Casbin Actix-web access control middleware
Stars: ✭ 40 (+25%)
Mutual labels:  auth
easypastes
Use Easy Pastes to create, store, share code snippets by simply pasting them with syntax highlight.
Stars: ✭ 34 (+6.25%)
Mutual labels:  auth
gotrue
A JWT based API for managing users and issuing JWT tokens
Stars: ✭ 325 (+915.63%)
Mutual labels:  auth
auth
🔑 Laravel Authentication package with built-in two-factor (Authy) and social authentication (Socialite).
Stars: ✭ 39 (+21.88%)
Mutual labels:  auth
spring-cloud
🔥 Develop distributed application services based on SpringCloud architecture model and components
Stars: ✭ 36 (+12.5%)
Mutual labels:  auth
express-mongo-jwt-boilerplate
Express Mongo JsonWebToken boilerplate
Stars: ✭ 100 (+212.5%)
Mutual labels:  auth
identifo
Universal authentication framework for web, created with go
Stars: ✭ 58 (+81.25%)
Mutual labels:  auth
fastify-hasura
A Fastify plugin to have fun with Hasura.
Stars: ✭ 30 (-6.25%)
Mutual labels:  hasura
caddy-security
🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. 💎 Authorization with JWT/PASETO tokens. 🔐
Stars: ✭ 696 (+2075%)
Mutual labels:  auth
sign-in-with-ethereum
Minimal example of sign in with Ethereum. Compatible with web3 browsers.
Stars: ✭ 25 (-21.87%)
Mutual labels:  auth
authorizer
Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.
Stars: ✭ 770 (+2306.25%)
Mutual labels:  auth
authorize-me
Authorization with social networks
Stars: ✭ 44 (+37.5%)
Mutual labels:  auth
lua-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Lua (OpenResty)
Stars: ✭ 43 (+34.38%)
Mutual labels:  auth

hasura-simple-auth

Simple Auth Server For Signup & Login Mutation

Setup

  1. npm install
  2. follow https://docs.hasura.io/1.0/graphql/manual/auth/jwt.html for setting up JWT mode
  3. edit config.json
  4. npm start
  5. add url to remote schemas
    1. using docker and localhost? https://docs.hasura.io/1.0/graphql/manual/deployment/docker/index.html#network-config
  6. add required schema

Required Schema Table Name: User

  • id (uuid)
  • email (string/text)
  • password (string/text)
CREATE TABLE public."user" (
    id uuid DEFAULT public.gen_random_uuid() NOT NULL,
    email text NOT NULL,
    password text NOT NULL
);

ALTER TABLE ONLY public."user"
    ADD CONSTRAINT user_email_key UNIQUE (email);
    
ALTER TABLE ONLY public."user"
    ADD CONSTRAINT user_pkey PRIMARY KEY (id);

Queries

me { email } // Used for login check

Mutations

login(email: String, password: String) { token }
signup(email: String, password: String) { token }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].