Azure AD Oauth2 authentication redirect uri error

Follow documentation, which you linked, please. If you want to use http://localhost:3000/login/azuread, then allow it in the Azure: