Test Credentials Sign-In
Create a test account through your real backend and test both valid and invalid login attempts. A successful authorize return needs a stable id; returning null rejects login. Do not hard-code production credentials in source code.
Credentials are not a database
The Credentials provider does not create user records or automatically persist credentials-authenticated users. Your identity backend owns that lifecycle.