diff options
| author | Per Larsson <[email protected]> | 2022-02-02 17:03:05 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2022-02-02 17:03:05 +0100 |
| commit | 84e5e3a92a6c91d7f3cb5e19d1796795dc18d151 (patch) | |
| tree | 5d334c919a8007c4a9ee5b2207d8c141e1b0c327 | |
| parent | Removed unnecessary headers. (diff) | |
| download | zen-84e5e3a92a6c91d7f3cb5e19d1796795dc18d151.tar.xz zen-84e5e3a92a6c91d7f3cb5e19d1796795dc18d151.zip | |
Changed OIDC token endpoint.
| -rw-r--r-- | zenserver/auth/authmgr.cpp | 2 | ||||
| -rw-r--r-- | zenserver/auth/authservice.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/auth/authmgr.cpp b/zenserver/auth/authmgr.cpp index 7b6c30640..3cd5c63cf 100644 --- a/zenserver/auth/authmgr.cpp +++ b/zenserver/auth/authmgr.cpp @@ -88,7 +88,7 @@ public: if (Params.RefreshToken.empty()) { - ZEN_WARN("add OpenId token FAILED, reason 'Token invalid'"); + ZEN_WARN("add OpenID token FAILED, reason 'Token invalid'"); return false; } diff --git a/zenserver/auth/authservice.cpp b/zenserver/auth/authservice.cpp index 47a757001..ac77b237f 100644 --- a/zenserver/auth/authservice.cpp +++ b/zenserver/auth/authservice.cpp @@ -17,7 +17,7 @@ using namespace std::literals; HttpAuthService::HttpAuthService(AuthMgr& AuthMgr) : m_AuthMgr(AuthMgr) { m_Router.RegisterRoute( - "token", + "oidc/refreshtoken", [this](HttpRouterRequest& RouterRequest) { HttpServerRequest& ServerRequest = RouterRequest.ServerRequest(); |