/authware

Authentication and access control with integration to Identity Provider

Primary LanguageGo

Authware

Introduction

Authware is a centralized authentication and authorization service based on Role-Based Access Control using Casbin. It has an integration with Identity Provider Okta and is extensible to support other Identity Providers.

Here's the Postman Collection for supported endpoints.

Error Codes

Code Range Description
2xx This range of response code indicates that request was fulfilled successfully and no error was encountered.
400 This return code indicates that there was an error in fulfilling the request because the supplied parameters are invalid or inadequate.
401 This return code means that we are not able to authenticate your request. Please re-check your username and password.
5xx This response code indicates that there was an internal server error while processing the request.

Development

Pre-requisites: Golang v1.17+

  1. Clone the repository locally.
  2. Add .env file in the repository root by modifying the .env.template file as needed.
  3. From repository root, run:
make start
  1. API will be up and running at http://localhost:5000.

Dependencies

  • echo - Web framework
  • casbin - Authorization library

TODO