feat(CIE): Implement OIDC RP Service with login, callback, and session management

This commit is contained in:
gabdevele
2026-06-16 23:33:59 +02:00 Unverified
parent bb7ed18539
commit 5f81d2dcf7
31 changed files with 3218 additions and 4 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include "common/OidcJwt.h"
#include <json/json.h>
#include <string>
namespace visione::oidc
{
struct JweParts
{
Json::Value header;
std::string encodedHeader;
std::string encodedEncryptedKey;
std::string encodedIv;
std::string encodedCiphertext;
std::string encodedTag;
};
JweParts parseJwe(const std::string &jwe);
std::string decryptJwe(const std::string &jwe, const Jwk &jwk);
} // namespace visione::oidc