gragland / Fake Auth
Licence: mit
A fake auth service for prototyping authentication flows
Stars: ✭ 50
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Fake Auth
Vue Auth Boilerplate
🔑 Vue.js scalable boilerplate with user authentication.
Stars: ✭ 31 (-38%)
Mutual labels: authentication
Nativescript Plugin Firebase
🔥 NativeScript plugin for Firebase
Stars: ✭ 990 (+1880%)
Mutual labels: authentication
Nativescript Azure Mobile Apps
☁️ NativeScript plugin for working with Microsoft Azure Mobile Apps services
Stars: ✭ 31 (-38%)
Mutual labels: authentication
Bottle Jwt
JWT Authentication Plugin for bottle.py applications.
Stars: ✭ 30 (-40%)
Mutual labels: authentication
Gortas
Gortas is an API based authentication service, allows adding authentication to your site or service with minimum efforts.
Stars: ✭ 48 (-4%)
Mutual labels: authentication
Nexmo Node Code Snippets
NodeJS code examples for using Nexmo
Stars: ✭ 36 (-28%)
Mutual labels: authentication
Matrixauth
High-performance lightweight distributed permission system. 高性能轻量级分布式权限系统。
Stars: ✭ 41 (-18%)
Mutual labels: authentication
Paseto
Java Implementation of Platform-Agnostic Security Tokens - https://paseto.io
Stars: ✭ 32 (-36%)
Mutual labels: authentication
Django Two Factor Auth
Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
Stars: ✭ 967 (+1834%)
Mutual labels: authentication
Socialloginsamples
This repo contains different implementations for social login in Xamarin with the native SDKs for facebook and google.
Stars: ✭ 40 (-20%)
Mutual labels: authentication
Craft Twofactorauthentication
Craft plugin for two-factor or two-step login using Time Based OTP.
Stars: ✭ 31 (-38%)
Mutual labels: authentication
React Redux Registration Login Example
React + Redux - User Registration and Login Tutorial & Example
Stars: ✭ 1,011 (+1922%)
Mutual labels: authentication
Django Auth Example
Sample project for my talk at DjangoCongress JP 2018.
Stars: ✭ 30 (-40%)
Mutual labels: authentication
Authentication Server
A simple authentication service to deliver JWT with Hasura claims, based on users with multiples roles stored in a Postgres database.
Stars: ✭ 48 (-4%)
Mutual labels: authentication
Privacyidea
🔐 multi factor authentication system (2FA, MFA, OTP Server)
Stars: ✭ 1,027 (+1954%)
Mutual labels: authentication
Znetcs.aspnetcore.authentication.basic
A simple basic authentication middleware.
Stars: ✭ 40 (-20%)
Mutual labels: authentication
🔐 Fake Auth
A fake auth service for prototyping authentication flows and error states. It currently supports signin, signup, signinWithProvider (google, fb, etc), password resetting, updating email, updating profile data, and subscribing to auth state changes.
Everything is client-side, including the "database" which is stored in local storage. Perfect for quick prototyping or theme developers who'd like to have a demo site without needing to setup a backend.
Install
npm install fake-auth --save
Usage
A simple example with React
import React, { useState } from "react";
import fakeAuth from "fake-auth";
function SigninComponent(props) {
const [error, setError] = useState();
const handleSubmit = (email, pass) => {
fakeAuth
.signin(email, pass)
.then((response) => {
props.onSignin(response.user);
})
.catch((error) => {
setError(error);
});
};
return (
<form
onSubmit={(event) => {
const [email, pass] = event.target.children;
handleSubmit(email, pass);
}}
>
{error && <p>{error.message}</p>}
<input type="email" name="email" />
<input type="password" name="pass" />
</form>
);
}
Methods
signup(email, pass).then((response) => ...)
signin(email, pass).then((response) => ...)
signinWithProvider(provider).then((response) => ...)
signout().then(() => ...)
onChange((response) => ...)
sendPasswordResetEmail(email).then(() => ...)
confirmPasswordReset(email, code).then(() => ...)
updateEmail(email).then(() => ...)
updatePassword(pass).then(() => ...)
updateProfile(data).then(() => ...)
getCurrentUser().then((user) => ...)
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].