# Nextauth federated identity
Buggy behaviour
Nextauth js signin on first visit to the page asks the user to provide credntials to login or signup and after the authentication of sign in or sign up ,the user logs out of the application
the nexttime the user visits the app and clicks on signin button nextauth directly logs them in WITHOUT asking the credentials , this behaviour is observed with email - password , passwordless - auth and other oauth providers.
Here are a few issues mentioning them
[Autho Oauth Logout and Login skips asking for credentials](https://github.com/nextauthjs/next-auth/issues/638)
[Federated Logout](https://github.com/nextauthjs/next-auth/issues/836)
## Response by Nextauth.js
## Work around solution