0

I'm implementing the "CredentialsProvider" from Next-Auth, so far I've see examples where I can only add text fields in it like 'usernames' and 'passwords'.

Is it possible to add a 'Menu list' kind of thing? Which will basically give us some options to select from? I'm basically doing this to provide an option to the user to either login as a User or Admin, by selecting any one of them from the drop down menu (something similar to the design in the image below)

enter image description here

I have tried the 'radio' option but that's not what I'm looking for.

0 Answers0