I have a Web API that recieves http requestes, everything appears to work fine in localhost but when the web api was deployed there were issues using the bearer token to authorize users for the requests.
The token is generated correctly i think, and the first requests are gone through authorize attribute, but after a while, token is invalid. why this happens ? Any ideas, it is something that has to do with app pool recycle on IIS , or something has changed form localhost when deployed?