I want to use GraphAPI in ROPC including redirect authentication of ADFS.
I have to use graphapi in the ROPC method, but perhaps because of ADFS authentication, the following error occurs when obtaining an access token.
Error validating credentials due to invalid username or password.
Probably because there is federated authentication, but the authentication screen uses the same UPN and PASSWORD.
How can I use access tokens?
The development environment is Node.js
I am very troubled, so I would be happy if you could tell me if there is a detailed person.