I am trying to get User Access Token and Token Secret from Twitter sign in and then verify them from asp.net web api before storing user in my database.
I have already configured Cookie Authentication Without Identity for my Asp.net core MVC web application. Now I want to integrate (External/Social Authentication) Twitter, Facebook, Google in this app and I started with Twitter. I also found this link in Microsoft docs https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/social-without-identity?view=aspnetcore-3.1
But the page is not to the point and the link provided for Twitter takes me back to the Twitter Login that uses Identity. I have not configured Identity and I want to implement my own Social Login. What Can I do? Has anyone done it?
I tried to use client-side javascript but turns out Twitter does not allow it and throws a CORS error event though header Access-Control-Allow-Origin = "*" is set.
Please help. Thank you.