Skip to content

stellarscience/liboauth2

 
 

Repository files navigation

liboauth2

Generic library that can be used to build OAuth 2.0 and OpenID Connect C-based servers and clients e.g. web-server plugins.

Overview

  • extends cjose into OAuth 2.0 and OpenID Connect specific claims, secrets and hashes
  • adds OAuth 2.0 / OpenID Connect protocols by abstracting HTTP requests/responses from web server implementation specifics
  • reusable code across for other OAuth 2.0 (and REST) related protocols e.g. token exchange with endpoint authentication, source token retrieval, target pass settings etc.
  • generic code with plugins for Apache, NGINX and possibly more (e.g. Envoy, HA Proxy, IIS)
  • configurable cache backend/size/options per cache element type
  • cookie-based session management (i.e. enforce inactivity timeout, expiry)

Features

Dependencies

liboauth2 has the following dependencies:

  • openssl for SSL and crypto support
  • libcurl for HTTP client support
  • jansson for JSON parsing
  • cjose for JSON Object Signing and Encryption (JOSE) support
  • (optional) libmemcached for memcache cache backend support
  • (optional) libhiredis for Redis cache backend support
  • (optional) Apache 2.x for Apache 2.x bindings support
  • (optional) NGINX for NGINX bindings support
  • (optional, build time only) check for unit test support

Support

Community Support

For generic questions, see the Wiki pages with Frequently Asked Questions at:
https://github.com/zmartzone/liboauth2/wiki
Any questions/issues should go to issues tracker.

Commercial Services

For commercial Support contracts, Professional Services, Training and use-case specific support you can contact:
sales@zmartzone.eu

Disclaimer

This software is open sourced by ZmartZone IAM. For commercial support you can contact ZmartZone IAM as described above in the Support section.

About

OAuth 2.0 and OpenID Connect C library

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • C 95.7%
  • M4 2.1%
  • Makefile 0.8%
  • C++ 0.8%
  • Objective-C 0.3%
  • Dockerfile 0.3%