ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto

updating frontend to see if oauth storing correctly

Changed files
+6 -3
src
+6 -3
src/App.tsx
··· 200 return res.json(); 201 }) 202 .then((data) => { 203 setSession({ 204 did: data.did, 205 - handle: data.handle, 206 - accessJwt: data.accessToken, 207 - serviceEndpoint: data.serviceEndpoint, 208 }); 209 window.history.replaceState({}, '', '/'); 210 }) 211 .catch((err) => {
··· 200 return res.json(); 201 }) 202 .then((data) => { 203 + // Temporary: just store DID for now 204 + // We'll add handle and serviceEndpoint when we build backend functions 205 setSession({ 206 did: data.did, 207 + handle: 'unknown', // placeholder 208 + accessJwt: '', // no longer needed 209 + serviceEndpoint: '', // no longer needed 210 }); 211 + setCurrentStep('upload'); 212 window.history.replaceState({}, '', '/'); 213 }) 214 .catch((err) => {