WIP PWA for Grain

fix: always redirect to /oauth/callback during OAuth flow

+4 -1
+4 -1
src/services/auth.js
··· 60 60 61 61 async login(handle) { 62 62 sessionStorage.setItem('oauth_return_url', window.location.pathname); 63 - await this.#client.loginWithRedirect({ handle }); 63 + await this.#client.loginWithRedirect({ 64 + handle, 65 + redirectUri: `${window.location.origin}/oauth/callback` 66 + }); 64 67 } 65 68 66 69 logout() {