class MyOidcService : public Wt::Auth::OidcService { public: MyOidcService(const Wt::Auth::AuthService& authService) : Wt::Auth::OidcService(authService) { setRedirectEndpoint("/oauth2/callback"); setClientId("random-client-id"); setClientSecret("random-client-secret"); setAuthEndpoint("https://id-provider/oauth2/authorize"); setTokenEndpoint("https://id-provider/oauth2/token"); setUserInfoEndpoint("https://id-provider/oidc/userinfo"); setName("oidc"); setDescription("Generic ID Provider"); } };