You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HttpContext.Current.Request.PhysicalApplicationPath throwing the null exception as the code executed during the startup of application, there will be no HttpContext.Current.Request
Reproduction steps
See above
Error message
NRE
Id Web logs
NRE
Relevant code snippets
Seeabove
Regression
No regression
Expected behavior
no NRE
The text was updated successfully, but these errors were encountered:
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
Latest
Web app
Not Applicable
Web API
Protected web APIs call downstream web APIs
Token cache serialization
In-memory caches
Description
application is currently running on .NetFramework 4.7.2 and using Microsoft.Identity.Web.OWIN package,
The application is getting Null exception at line
OwinTokenAcquirerFactory tokenAcquirerFactory = TokenAcquirerFactory.GetDefaultInstance();
on investigating, it the source code for OwinTokenAcquirerFactory
HttpContext.Current.Request.PhysicalApplicationPath
throwing the null exception as the code executed during the startup of application, there will be noHttpContext.Current.Request
Reproduction steps
See above
Error message
NRE
Id Web logs
NRE
Relevant code snippets
Regression
No regression
Expected behavior
no NRE
The text was updated successfully, but these errors were encountered: