Popularity
1.1
Growing
Activity
5.9
-
12
1
0

Description

MiniOAuth2 is a lightweight, modern C++20 library that simplifies OAuth 2.0 Authorization Code Flow with PKCE. It is designed to integrate seamlessly with CrowCPP, but can be used in any C++ project thanks to its header-only architecture and minimal dependencies.

Highlights:

RFC-compliant Authorization Code Flow + PKCE

Secure token handling with URL-safe Base64 and SHA-256 (via PicoSHA2)

Optional support for nlohmann/json for parsing token responses

Standalone Google Login example using CrowCPP

No Boost. No linking. MIT licensed.

Whether you're building a web backend in C++, or need OAuth support for an embedded system, MiniOAuth2 provides a secure and minimal solution.

Programming language: C++
License: MIT License
Tags: GUI     Header Only     Web     C++20     Cmake     Crow Cpp     Pkce     OAuth     Oauth2    

MiniOAuth2 alternatives and similar libraries

Based on the "GUI" category.
Alternatively, view MiniOAuth2 alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of MiniOAuth2 or a related project?

Add another 'GUI' Library