audience can be undefined

This commit is contained in:
Sourav Chanduka
2021-08-18 14:38:04 +05:30
parent 1162975200
commit 1c03cd3284
2 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -351,6 +351,6 @@ export function getState(name: string): string {
return process.env[`STATE_${name}`] || ''
}
export async function getIDToken(aud: string): Promise<string> {
export async function getIDToken(aud = undefined): Promise<string> {
return await OidcClient.getIDToken(aud)
}