Authentication that works with everything.
Hey, I am trying to build a custom authentication which can work with
react-native
apps, next-auth
's custom credential providers and basic react
SPA. I have a basic idea of what I should be doing but, I would like some opinions and things I should be aware of before writing some code that would fail. Also, I have a question. How do I create API endpoints that can handle token based authentication (for react-native apps) and cookie based for SPA and next-apps?0 Replies