How to send username and password with loginAsync function with winform application

Hi ,

We are using winform application to create login mechanism with our native app. here during loginAsync function it launches the login screen and asks for username and password. Instead , I don’t want to launch this login screen , just need to give username and password in code itself , and on successful login , I need to get access toke. Is it possible ot set username and password directly through code ?

Thanks .

Hi @sureshkumargce.kumar,

You are looking for the Resource Owner Password Flow. Let me know if you have any questions about it.