[solved] Nextjs : Unsafe signin warning

image

How to not get this message?

It signs in ok, but It hurts my eye see it like this.

I tried to change the domain into https://localhost:3000, the warning went away

but authentication fails…

nvm, solved it

just change the domain from

domain: http://localhost:3000

into

domain: localhost:3000

cheers!

2 Likes