project_nextjs13_flexibble
project_nextjs13_flexibble copied to clipboard
cant log in with google
[next-auth][warn][EXPERIMENTAL_API]
getServerSession
is used in a React Server Component.
https://next-auth.js.org/configuration/nextjs#getServerSession}
https://next-auth.js.org/warnings#EXPERIMENTAL_API
I have same warning but I can log in through google, check code, google secrets and id, that's is just a warning that let you know that getServerSession is a experimental function and will get in the future full support for next13
This has nothing to do with your error in google login, it would be helpful if you could share the code in the comment
oh i solved problems already thanks first i had in env https and not http, 2nd i fuck my grafbase file database so i must delte and install again and 3rd i must put to next.config.js and everything work fine
/** @type {import('next').NextConfig} */ const nextConfig = { images: { remotePatterns: [ { protocol: 'https', hostname: 'lh3.googleusercontent.com', port: '', pathname: '/**', }, ], } }
module.exports = nextConfig