A Big Interview Mistake and More...
Thanks a ton for sharing mate 🙏🏻 ... Just curious how the JWT / session roles would have their roles during sign up or create an account.
The process isn't so different.
During signup, the server verifies whether the user's credentials are following the rules (like user id uniqueness and password is proper). Once done, the server can generate a JWT with the necessary claims and return it as part of a cookie...
Thanks mate .. really helpful
Thanks a ton for sharing mate 🙏🏻 ... Just curious how the JWT / session roles would have their roles during sign up or create an account.
The process isn't so different.
During signup, the server verifies whether the user's credentials are following the rules (like user id uniqueness and password is proper). Once done, the server can generate a JWT with the necessary claims and return it as part of a cookie...
Thanks mate .. really helpful