ismetacar / ertis-auth

Generic token generator and validator service like auth
MIT License
29 stars 2 forks source link
auth auth0 authentication authorization bearer-tokens docker generic oauth2 pypi python

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:

Users:

Applications:

Roles:

Events

Active Tokens:

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//user-types POST
/api/v1/memberships//get-user-type GET
/api/v1/memberships//user-types/ GET
/api/v1/memberships//user-types/ PUT,GET
/api/v1/memberships//users POST
/api/v1/memberships//users/ GET
/api/v1/memberships//users/ PUT,GET
/api/v1/memberships//users/ PUT,GET,DELETE
/api/v1/memberships//users/_query POST
/api/v1/memberships//applications POST
/api/v1/memberships//applications/ GET
/api/v1/memberships//applications/ PUT,GET
/api/v1/memberships//applications/ PUT,GET,DELETE
/api/v1/memberships//applications/_query POST
/api/v1/memberships//roles POST
/api/v1/memberships//roles/ GET
/api/v1/memberships//roles/ PUT,GET
/api/v1/memberships//roles/ PUT,GET,DELETE
/api/v1/memberships//roles/_query POST
/api/v1/memberships//events/ GET
/api/v1/memberships//events/_query POST
/api/v1/api-map GET
/api/v1/get-app-version GET
/api/v1/memberships//providers POST
/api/v1/memberships//providers/ GET
/api/v1/memberships//providers/ GET,PUT
/api/v1/memberships//providers/ GET,PUT,DELETE
/api/v1/memberships//providers/_query POST
/api/v1/sign-in/ GET

Dockerized App

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

Tests and continuous delivery