Skip to content

Instantly share code, notes, and snippets.

@DenisDov
Created March 12, 2021 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DenisDov/a190d552ed9e547301406bc807e27741 to your computer and use it in GitHub Desktop.
Save DenisDov/a190d552ed9e547301406bc807e27741 to your computer and use it in GitHub Desktop.
const providerConfig = {
domain: config.domain,
clientId: config.clientId,
...(config.audience ? { audience: config.audience } : null),
redirectUri: window.location.origin,
onRedirectCallback,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment