mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
fix(jwt): Fixes parsing JWT in hash as JSON instead of a string (#14760)
This commit is contained in:
committed by
GitHub
parent
5eb4064390
commit
2ed0418bd9
@@ -564,9 +564,9 @@ export function urlObjectToString(o: { [key: string]: any; }): string | undefine
|
||||
|
||||
if (jwt) {
|
||||
if (hash.length) {
|
||||
hash = `${hash}&jwt=${jwt}`;
|
||||
hash = `${hash}&jwt=${JSON.stringify(jwt)}`;
|
||||
} else {
|
||||
hash = `#jwt=${jwt}`;
|
||||
hash = `#jwt=${JSON.stringify(jwt)}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user