We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41b629a commit 9f4b20cCopy full SHA for 9f4b20c
src/authentication/TokenCreationCSS.ts
@@ -21,6 +21,8 @@ import crossfetch from 'cross-fetch';
21
22
export async function generateCSSToken(options: IClientCredentialsTokenGenerationOptions) {
23
24
+ if (!options.idp) throw new BashlibError(BashlibErrorMessage.noIDPOption)
25
+
26
if (!options.idp.endsWith('/')) options.idp += '/';
27
28
// This assumes your server is started under http://localhost:3000/.
0 commit comments