Where to store Access Token after Web API Authentication?

Kevin Azure 141 Reputation points
2023-03-14T18:53:38.6266667+00:00

I am having 2 application components:

  1. Web API protected with JWT
  2. WEB APPLICATION WEB APPLICATION authenticates user with login page (username, password) to the WEB API and gets the Access-token & Refresh-token.

Where do I store the Access-token?

[so that everytime WEB APPLICATION user will send this access token, I can transfer same to WEB API]

Cookie?

Please advice.

Developer technologies ASP.NET Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.