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 481e3e8 commit 162067eCopy full SHA for 162067e
lib/appwrite/auth.ts
@@ -148,6 +148,20 @@ export class AuthService {
148
redirectUrl,
149
);
150
151
+ // Debug: Store what we actually got back from Appwrite
152
+ if (typeof window !== "undefined") {
153
+ try {
154
+ sessionStorage.setItem("apple_oauth_response_type", typeof url);
155
+ sessionStorage.setItem(
156
+ "apple_oauth_response_value",
157
+ JSON.stringify(url),
158
+ );
159
+ (window as any).appleOAuthResponse = url;
160
+ } catch (e) {
161
+ // Ignore storage errors
162
+ }
163
164
+
165
if (typeof url === "string") {
166
// Store success info
167
if (typeof window !== "undefined") {
0 commit comments