Rositsa Ruseva

Rositsa Ruseva

  • 1.5k
  • 218
  • 33.5k

How to generate a refresh token in Net6 project?

Oct 2 2023 11:36 AM

We are using our own service from which with a request we get a bearer token. This bearer token is copied and then paste in all of the API requests. But I have to make a change - when this token is expired, to refresh it.
I am a little bit lost how to do that. I am not supposed to add a new model or controller. Here is the code:


Answers (2)