[solved]Stuck on a The input is not a valid Base-64 string error
Here is the full error message: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
The error shows up when I use my login endpoint when _signInManager.CheckPasswordSignInAsync manager is called.
Here are things I've tried:
SOLUTION: The problem was that the password in the database wasn't encoded in base64
The error shows up when I use my login endpoint when _signInManager.CheckPasswordSignInAsync manager is called.
Here are things I've tried:
- Encoding loginDto.Password into a base64 string
- Modifying thesigningkey, making it longer and shorter. Making sure it takes up 64 bytes.
SOLUTION: The problem was that the password in the database wasn't encoded in base64