@alore/auth-react-sdk 1.1.0-alpha.15 → 1.1.0-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/types.d.ts +9 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -35,6 +35,15 @@ export interface AuthProviderConfig {
35
35
  termsOfServiceUrl?: string;
36
36
  logoUrl?: string;
37
37
  socialProviders?: SocialProvider[];
38
+ /**
39
+ * Where Microsoft returns the popup. Must be a page that does NOT boot the
40
+ * consuming app: MSAL reads the token off this window's URL fragment, and an
41
+ * app that routes on load (locale redirects, auth guards) clears the fragment
42
+ * first, failing the sign-in with `hash_empty_error`. A blank static file is
43
+ * the documented choice. Defaults to the origin, which only works for apps
44
+ * that do not navigate on load.
45
+ */
46
+ microsoftRedirectUri?: string;
38
47
  enableWalletCreation?: boolean;
39
48
  firebaseCompatible?: boolean;
40
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alore/auth-react-sdk",
3
- "version": "1.1.0-alpha.15",
3
+ "version": "1.1.0-alpha.16",
4
4
  "repository": "https://github.com/0xCarbon/alore-js",
5
5
  "description": "SDK for Alore Auth",
6
6
  "main": "dist/index.js",