WIP PWA for Grain

fix: use full page navigation after OAuth callback for proper app init

+2 -1
+2 -1
src/services/auth.js
··· 21 21 await this.#client.handleRedirectCallback(); 22 22 const returnUrl = sessionStorage.getItem('oauth_return_url') || '/'; 23 23 sessionStorage.removeItem('oauth_return_url'); 24 - router.replace(returnUrl); 24 + window.location.replace(returnUrl); 25 + return; 25 26 } 26 27 27 28 // Load user if authenticated