0

I am new to Asp.net core. I have tried this answer it works fine but i didn't get refresh token i need access_token,expiry_time and refresh token from asp.net core api for my angular application. I want to create custom login api in which i can get tokens without using password

ahsan ali
  • 3
  • 3
  • 2
    Welcome to StackOverflow. As explained in the tour, this site is a repository of useful questions and their answers.You have not included syntactically valid code. Please see how to create a https://stackoverflow.com/help/minimal-reproducible-example that demonstrates your problem. Please take the tour at https://stackoverflow.com/tour , visit the https://stackoverflow.com/help and especially read https://stackoverflow.com/help/how-to-ask to learn how to use this site effectively. – vladwoguer Mar 12 '20 at 17:48
  • you can read [this](https://stackoverflow.com/a/60394596/10422410) question too. – Mehrdad Mar 13 '20 at 03:19
  • i want to create access token and refresh token from asp.net web api without password – ahsan ali Mar 13 '20 at 11:59

1 Answers1

0

I would start by taking a look at this GitHub repository. It contians an Angular Lib for OpenID Connect & OAuth2.

Tore Nestenius
  • 16,431
  • 5
  • 30
  • 40