getProviders inconsistencies with server vs client components
Answered
Shiba Inu posted this in #help-forum
Shiba InuOP
When I use get getProviders() from nextauth it returns different results depending on if its used in a server side component vs client side. I have 2 providers, email and google, and on the client component it returns both but it only returns google on the server side.
Why is this the case and how could I make the server get both. If not, how would i use it properly on the client side as it requires me to use an await which client side components don't like?
Why is this the case and how could I make the server get both. If not, how would i use it properly on the client side as it requires me to use an await which client side components don't like?
3 Replies
Shiba InuOP
i put it in a suspense and it started working, as to why
Answer
Shiba InuOP
who knows
deffo not me 
