{"repo":"dariasmyr/sso","free":true,"listed":false,"github":"https://github.com/dariasmyr/sso","clone":"git clone https://github.com/dariasmyr/sso.git","description":"A microservice for managing users and authentication across multiple apps","language":"Go","stars":10,"topics":["authentication","grpc","jwt","microservice","session-management","sqlite"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"SSO The SSO is an open-source microservice for managing users and authentication across multiple apps, so that client app could authenticate users without storing passwords locally . Inspired by article: https://habr.com/ru/articles/774796/ Key points: - Authorization Flow : The client application redirects users to the SSO authentication service, where they authenticate. After successful authentication, the user is redirected back to the client with an access token (JWT) and refresh token. - Access Tokens & Refresh Tokens : If the access token expires, a refresh token can be used to obtain a new access token without requiring the user to re-authenticate in SSO. - Passwordless Authentication : The client application never stores user passwords. Authentication is managed by the SSO service, which securely handles user credentials. SSO Flow Diagram Getting Started Setup Clone the repository: Configuration Configuration files are located in ./config/ . Use config prod example.yaml as a template. Then you can modify config local.yaml for local setups and config prod.yaml for production. Database and Migrations For testing, a separate database is used with migrations applied from the ./tests/migrations directory. Install dependencies: Build and Run Build the service: Run the service (!Check the configuration file!): Run database migrations: For production or default environment: For testing environment: Important Notes - Some variables in the Makefile are hardcoded, such as MIGRAT","default_branch":null,"files":null,"tree":[],"storefront":"/r/dariasmyr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dariasmyr/sso/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."}