fix: correction prod docker
All checks were successful
All checks were successful
This commit is contained in:
@ -4,9 +4,6 @@ const redirectUrl = Astro.url.protocol + "//" + Astro.url.host + '/account/oauth
|
||||
const params = Astro.url.searchParams
|
||||
const code = params.get('code')
|
||||
|
||||
console.log(redirectUrl)
|
||||
console.log(Astro.request.headers.get('cookie'))
|
||||
//TODO socké dans les cookies
|
||||
// load the previously stored provider's data
|
||||
const providerstr = Astro.cookies.get('provider')
|
||||
|
||||
@ -42,9 +39,6 @@ await pb.collection('users').authWithOAuth2Code(
|
||||
).then((authData) => {
|
||||
//REDIRECT
|
||||
console.log("oauth OK !!");
|
||||
console.log(JSON.stringify(authData, null, 2));
|
||||
console.log(pb.authStore.isValid);
|
||||
console.log(pb.authStore.isValid);
|
||||
authenticated = true
|
||||
}).catch((err) => {
|
||||
console.log("oauth fail !!");
|
||||
|
Reference in New Issue
Block a user