AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
A quick Google search will help you download and install them if you don’t already have them on your machine. You will need the latest version of VS Code plus. Tenant Id (This is the unique identifier of your Azure AD instance).Domain name (may look like In Azure AD overview page, it would be the primary domain inside a box titled “Tenant Information”.So it is recommended to change any port reference in the above guide to 5001. Latest versions of VS Code use port 5001 to serve. You will need an Azure AD instance to create an app registration for the application we will create.įollow section in this Microsoft docs page to create an app registration. The application I am going to investigate authenticates users using Azure AD. Time to get our hands dirty with some code as I am a big fan of learning by doing. There is also the sliding expiration factor but let’s ignore it and keep our discussion focused on session timeout when there is no sliding expiration. This cookie has several bits of information and one bit is a timestamp telling when the session would expire. Session state is usually stored in a cookie created by the server during authentication process and then sent to the browser. In the old happy days, inspecting or tweaking session timeout was a single line in web.config but now it is more complicated. I did not know and wanted to dig deeper into what controls session timeout/duration and how to tweak it if default settings are not good for my application requirements. It was not obvious what changed or what was the root cause. Switching the new library was also easy but after that I started to notice that user sessions did not expire as before. After the upgrade, there was some warning that Azure AD authentication library is deprecated and should be replaced by .Īlright, not a big deal. The upgrade itself was pretty easy and straightforward. Most software applications involve many abstraction layers which are supposed to make things easy and promote the concept of not reinventing wheels. ![]() ![]() Now, there are tons of libraries doing similar things. ![]() Well, I miss the old days when everything was simple and there was not too many ways to accomplish a certain task.
0 Comments
Read More
Leave a Reply. |