MCPcopy Index your code
hub / github.com/simstudioai/sim / toBase64Url

Function toBase64Url

apps/sim/app/api/auth/oauth/utils.ts:179–179  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

177 })
178
179 const toBase64Url = (obj: unknown) => Buffer.from(JSON.stringify(obj)).toString('base64url')
180
181 const signingInput = `${toBase64Url(header)}.${toBase64Url(payload)}`
182

Callers 1

getServiceAccountTokenFunction · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected