I've searched a lot but unfortionalitly I didn't find the correct answer for my case. I need to add a button in my webform page to use it to login with microsoft account and after login I get a response which has a token and email (I'll use them then). I need to do the normal approach to login with third party (authentication) note: I don't use identity in this project. Most of the solutions I found belong to MVC but in this project I use webforms.