You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignment #1 - Write a function that takes in a username and password and returns a JWT token with the username encoded. Should return null if the username is not a valid email or if the password is less than 6 characters. Try using the zod library here
Assignment #2 - Write a function that takes a jwt as input and returns true if the jwt can be DECODED (not verified). Return false otherwise
Assignment #3 - Write a function that takes a jwt as input and returns true if the jwt can be VERIFIED. Return false otherewise