summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2022-07-30 05:57:26 +0200
committerFearlessTobi <thm.frey@gmail.com>2022-08-15 20:25:41 +0200
commit035ca99b023ee776bc13c79f96a5c6b1bc049739 (patch)
tree3e4a83cacf3a7f541e287412ffb4a099aed0e1a3 /src
parentdedicated_room: Initial implementation (diff)
downloadyuzu-035ca99b023ee776bc13c79f96a5c6b1bc049739.tar
yuzu-035ca99b023ee776bc13c79f96a5c6b1bc049739.tar.gz
yuzu-035ca99b023ee776bc13c79f96a5c6b1bc049739.tar.bz2
yuzu-035ca99b023ee776bc13c79f96a5c6b1bc049739.tar.lz
yuzu-035ca99b023ee776bc13c79f96a5c6b1bc049739.tar.xz
yuzu-035ca99b023ee776bc13c79f96a5c6b1bc049739.tar.zst
yuzu-035ca99b023ee776bc13c79f96a5c6b1bc049739.zip
Diffstat (limited to '')
-rw-r--r--src/web_service/verify_user_jwt.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web_service/verify_user_jwt.cpp b/src/web_service/verify_user_jwt.cpp
index 3bff46f0a..129eb1968 100644
--- a/src/web_service/verify_user_jwt.cpp
+++ b/src/web_service/verify_user_jwt.cpp
@@ -39,8 +39,10 @@ Network::VerifyUser::UserData VerifyUserJWT::LoadUserData(const std::string& ver
const std::string audience = fmt::format("external-{}", verify_uid);
using namespace jwt::params;
std::error_code error;
+
+ // We use the Citra backend so the issuer is citra-core
auto decoded =
- jwt::decode(token, algorithms({"rs256"}), error, secret(pub_key), issuer("yuzu-core"),
+ jwt::decode(token, algorithms({"rs256"}), error, secret(pub_key), issuer("citra-core"),
aud(audience), validate_iat(true), validate_jti(true));
if (error) {
LOG_INFO(WebService, "Verification failed: category={}, code={}, message={}",