All Projects → ismetacar → ertis-auth

ismetacar / ertis-auth

Licence: MIT license
Generic token generator and validator service like auth

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ertis-auth

Fosite
Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
Stars: ✭ 1,738 (+6107.14%)
Mutual labels:  oauth2, auth, authorization
hapi-doorkeeper
User authentication for web servers
Stars: ✭ 14 (-50%)
Mutual labels:  auth, auth0, authorization
Cloudfront Auth
An AWS CloudFront [email protected] function to authenticate requests using Google Apps, Microsoft, Auth0, OKTA, and GitHub login
Stars: ✭ 471 (+1582.14%)
Mutual labels:  oauth2, auth0, authorization
logto
🧑‍🚀 Logto helps you build the sign-in, auth, and user identity within minutes. We provide an OIDC-based identity service and the end-user experience with username, phone number, email, and social sign-in, with extendable multi-language support.
Stars: ✭ 3,421 (+12117.86%)
Mutual labels:  oauth2, auth, authorization
Auth0.js
Auth0 headless browser sdk
Stars: ✭ 755 (+2596.43%)
Mutual labels:  oauth2, auth0, authorization
remix-auth
Simple Authentication for Remix
Stars: ✭ 929 (+3217.86%)
Mutual labels:  oauth2, auth, auth0
rabbitmq-auth-backend-oauth2-spike
See rabbitmq/rabbitmq-auth-backend-oauth2 instead.
Stars: ✭ 17 (-39.29%)
Mutual labels:  oauth2, authorization
Sphinx
Authorization library for Phoenix web framework
Stars: ✭ 19 (-32.14%)
Mutual labels:  auth, authorization
auth
🔑 Laravel Authentication package with built-in two-factor (Authy) and social authentication (Socialite).
Stars: ✭ 39 (+39.29%)
Mutual labels:  auth, authorization
lua-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Lua (OpenResty)
Stars: ✭ 43 (+53.57%)
Mutual labels:  auth, authorization
gotrue
A JWT based API for managing users and issuing JWT tokens
Stars: ✭ 325 (+1060.71%)
Mutual labels:  auth, authorization
dart-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Dart/Flutter
Stars: ✭ 30 (+7.14%)
Mutual labels:  auth, authorization
auth-ajax
Auth token handling for Polymer
Stars: ✭ 15 (-46.43%)
Mutual labels:  auth, bearer-tokens
restish
Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
Stars: ✭ 453 (+1517.86%)
Mutual labels:  auth, auth0
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 (+2385.71%)
Mutual labels:  auth, authorization
Authing
🔥Authing - IDaaS/IAM solution that can Auth to web and mobile applications.
Stars: ✭ 247 (+782.14%)
Mutual labels:  oauth2, auth0
Lock.swift
A Swift & iOS framework to authenticate using Auth0 and with a Native Look & Feel
Stars: ✭ 215 (+667.86%)
Mutual labels:  oauth2, auth0
react-auth-kit
Easily manage Authentication state of users in React-based Apps using Hooks and Higher-order components
Stars: ✭ 177 (+532.14%)
Mutual labels:  auth, authorization
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 (+2650%)
Mutual labels:  auth, authorization
mod authnz jwt
An authentication module for Apache httpd using JSON Web Tokens
Stars: ✭ 74 (+164.29%)
Mutual labels:  auth, authorization

Pypi Docker Automated build

Ertis Auth Tweet

v2.0.1

Ertis auth is a next generation and generic auth service.

You can manage your users, applications, roles and more.

Tokens

There are two types of token. Basic and Bearer tokens.

Bearer tokens are based on JWT.

Basic tokens generating by application id and secret.

Resources

User types, users, applications, roles.

User Types:

  • Manage your user model dynamically.
  • Set as required fields you want.
  • All primitive types are supported.

Users:

  • Users, generating with default user fields (samples as below) and defined fields on user type.
  • Users can get a token and access to me and other api endpoints.
  • Users can create and modify other resources by role.

Applications:

  • Applications can manage other resources like users by role.
  • Server side request optimization is benefit.

Roles:

  • Define roles easily with role based access control. (Samples as below)
  • Apply role to user and applications.

Events

  • Get all action records as json from rest api.
  • Get detail of an event.

Active Tokens:

  • Get all active tokens by user.
  • Revoke all of them, as you wish.

Rest API

All api endpoints developed by rest and http standards.

Endpoint Path Allowed Methods
/api/v1/healthcheck GET
/api/v1/generate-token POST
/api/v1/refresh-token POST
/api/v1/verify-token POST
/api/v1/revoke-token POST
/api/v1/reset-password POST
/api/v1/set-password POST
/api/v1/change-password POST
/api/v1/me GET
/api/v1/memberships/<membership_id>/user-types POST
/api/v1/memberships/<membership_id>/get-user-type GET
/api/v1/memberships/<membership_id>/user-types/<user_type_id> GET
/api/v1/memberships/<membership_id>/user-types/<user_type_id> PUT,GET
/api/v1/memberships/<membership_id>/users POST
/api/v1/memberships/<membership_id>/users/<user_id> GET
/api/v1/memberships/<membership_id>/users/<user_id> PUT,GET
/api/v1/memberships/<membership_id>/users/<user_id> PUT,GET,DELETE
/api/v1/memberships/<membership_id>/users/_query POST
/api/v1/memberships/<membership_id>/applications POST
/api/v1/memberships/<membership_id>/applications/<application_id> GET
/api/v1/memberships/<membership_id>/applications/<application_id> PUT,GET
/api/v1/memberships/<membership_id>/applications/<application_id> PUT,GET,DELETE
/api/v1/memberships/<membership_id>/applications/_query POST
/api/v1/memberships/<membership_id>/roles POST
/api/v1/memberships/<membership_id>/roles/<role_id> GET
/api/v1/memberships/<membership_id>/roles/<role_id> PUT,GET
/api/v1/memberships/<membership_id>/roles/<role_id> PUT,GET,DELETE
/api/v1/memberships/<membership_id>/roles/_query POST
/api/v1/memberships/<membership_id>/events/<event_id> GET
/api/v1/memberships/<membership_id>/events/_query POST
/api/v1/api-map GET
/api/v1/get-app-version GET
/api/v1/memberships/<membership_id>/providers POST
/api/v1/memberships/<membership_id>/providers/<provider_id> GET
/api/v1/memberships/<membership_id>/providers/<provider_id> GET,PUT
/api/v1/memberships/<membership_id>/providers/<provider_id> GET,PUT,DELETE
/api/v1/memberships/<membership_id>/providers/_query POST
/api/v1/sign-in/<provider_slug> GET

Dockerized App

  • Working with mongodb.
  • Just docker-compose up.
  • Docker compose with mongo and ertis auth.
  • Setup db first -> migrate db easily.

Go to setup step (Ertis Auth Migrate pypi package)

Up

$ docker run -p 8888:8888 -d --env-file .env ertis_auth

Note: All values in the configuration file can be overridden by environment variables. Environment variables must be defined with the AUTH_ prefix -i.e see .env file- on when they are defined.

Ertis auth have a public docker image on docker hub.

API Documentation

  • Strong api documentation with samples

Postman Collection Postman Documentation

Tests and continuous delivery

  • All automated unit and integration tests.
  • Just call $ pytest test.py on your pipeline.
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].