Create a Qt6 c++ cmake qt library to | request the public keycloack key | validate a keycloak JWT webtoken | Get jwt token | using curl
Budget: €250 – €750 EUR
Hi,
i need a qt6 library using cmake, that gets Keycloak public keys, jwt token and validates the token.
https://github.com/juangburgos/QJsonWebToken
(maybe broken: https://github.com/juangburgos/QJsonWebToken/issues/2)
https://stackoverflow.com/questions/54884938/generate-jwt-token-in-keycloak-and-get-public-key-to-verify-the-jwt-token-on-a-t
https://www.keycloak.org/server/containers
Resulting qt library should have those classes:
class JwtValidator
{
public:
JwtValidator(<type> keyCloakPublicKey);
bool isValid(<type> JWTToken) const;
}
class KeyCloak
{
public:
KeyCloak(QUrl const& url);
QByteArray getJwtToken() const; //opening keycloak login pop up
QByteArray getPublicKey() const;
}
Further Description:
use curl with QProcess to create KeyCloak method implementations.
----------------------------------
Acceptance Criteria:
- have qt library
- using cmake
- both classes provided and working
- google tests for both classes
- curl & QProcess used for getting public key and jwt token
- provided on github if possible
i need a qt6 library using cmake, that gets Keycloak public keys, jwt token and validates the token.
https://github.com/juangburgos/QJsonWebToken
(maybe broken: https://github.com/juangburgos/QJsonWebToken/issues/2)
https://stackoverflow.com/questions/54884938/generate-jwt-token-in-keycloak-and-get-public-key-to-verify-the-jwt-token-on-a-t
https://www.keycloak.org/server/containers
Resulting qt library should have those classes:
class JwtValidator
{
public:
JwtValidator(<type> keyCloakPublicKey);
bool isValid(<type> JWTToken) const;
}
class KeyCloak
{
public:
KeyCloak(QUrl const& url);
QByteArray getJwtToken() const; //opening keycloak login pop up
QByteArray getPublicKey() const;
}
Further Description:
use curl with QProcess to create KeyCloak method implementations.
----------------------------------
Acceptance Criteria:
- have qt library
- using cmake
- both classes provided and working
- google tests for both classes
- curl & QProcess used for getting public key and jwt token
- provided on github if possible