mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-23 00:12:53 +10:00
OIDC validation & issuer fixes (#363)
* fix: validation and issuer checks * feat: query param util * fix: lint
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export function queryParamBuilder(params: { [key: string]: string }) {
|
||||
const list = Object.entries(params).map(
|
||||
([key, value]) => `${key}=${encodeURIComponent(value)}`,
|
||||
);
|
||||
const str = list.join("&");
|
||||
return str;
|
||||
}
|
||||
Reference in New Issue
Block a user