fix: empty user info when crud

This commit is contained in:
Methapon2001 2024-04-02 13:51:55 +07:00
parent 8a32de9bb0
commit d6aa0385cd

View file

@ -39,7 +39,7 @@ export async function keycloakAuth(
payload = await verifyOffline(token);
break;
default:
if (process.env.KC_REALM_URL) {
if (process.env.KC_URL) {
payload = await verifyOnline(token);
break;
}