{"repo":"HectorMRC/rauth","free":true,"listed":false,"github":"https://github.com/HectorMRC/rauth","clone":"git clone https://github.com/HectorMRC/rauth.git","description":"A simple SSO implementation in Rust","language":"Rust","stars":41,"topics":["rust","grpc","postgres","redis","rabbitmq","hexagonal-architecture","sso"],"license":"MIT","category":"databases-storage","readme_excerpt":"rauth A simple SSO implementation in Rust Table of contents 1. About 1. Endpoints 1. Signup 1. Reset 1. Delete 1. Totp 1. Login 1. Logout 1. Setup environment 1. Server configuration 1. Deployment 1. Debugging About The rauth project provides a SSO (Single Sign On) implementation that can be consumed as any of both, a Rust library or a gRPC service. Currently, the project includes all regular session-related actions as signup, login, logout, and so on. Plus TOTP (Time-based One Time Password) and email verification support. Endpoints Signup Allows a new user to get registered into the system if, and only if, email and password are both valid. Request The signup transaction requires of two steps to get completed: the signup request , and the email verification . Both of them use the same endpoint to get performed, nonetheless, the signup request is the only one that must all fields. The email verification instead, shall provide the verification token in the corresponding header. Response - If, and only if, the first step of the signup transaction completed successfully, Rauth will respond with the error E003 (require email verification). - If, and only if, the email verification completed successfully, is sent an Empty response with the session token in the corresponding header. - Otherwise, is provided one of the errors down below. Error codes Code Name Description :------- :----------------- :-----------------------------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/HectorMRC","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HectorMRC/rauth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}