authtara-sdk 1.1.14 → 1.1.15
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.
- package/dist/react.js +1 -0
- package/dist/react.mjs +1 -0
- package/package.json +1 -1
package/dist/react.js
CHANGED
|
@@ -213,6 +213,7 @@ function AuthTaraProvider({
|
|
|
213
213
|
} catch (error) {
|
|
214
214
|
if (error instanceof PopupBlockedError) {
|
|
215
215
|
console.warn("[AuthTara] Popup blocked, falling back to redirect mode");
|
|
216
|
+
sessionStorage.setItem("oauth_redirect_uri", callbackUrl);
|
|
216
217
|
window.location.href = authorizeUrl;
|
|
217
218
|
return;
|
|
218
219
|
}
|
package/dist/react.mjs
CHANGED
|
@@ -177,6 +177,7 @@ function AuthTaraProvider({
|
|
|
177
177
|
} catch (error) {
|
|
178
178
|
if (error instanceof PopupBlockedError) {
|
|
179
179
|
console.warn("[AuthTara] Popup blocked, falling back to redirect mode");
|
|
180
|
+
sessionStorage.setItem("oauth_redirect_uri", callbackUrl);
|
|
180
181
|
window.location.href = authorizeUrl;
|
|
181
182
|
return;
|
|
182
183
|
}
|
package/package.json
CHANGED