Hiya,
I see a method that looks useful: ExchangeOAuthCodeForAccessToken in this file:
Looks like it was released in version 1.12.0. What version are you using?
At this point, after the login process, do I have to apply for the token again with username and password? if I want to access the token from API?
When you get the access token, you can then present it to whatever needs to verify the user is logged in. If you enable refresh tokens, you can store that off and present it for a new access token without the user logging in again. Check out this post about how the authorization code grant works for more details.
.net core doesn't work with older frameworks of asp.net(4.5.2.) installation error.
I filed an issue about that. Not sure we can fix it, since ASP.NET 4.5.2 is over 5 years old, but at least we can take a look.