Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Stackoverflow exception when using a Membership extender with jwt auth #393
In a certain environment the Membership extender mechanism can cause an infinite recursion loop and throw a stackoverflow exception. This kills the IIS process, which is a serious issue.
The first section (between the two External code lines) repeats itself from the User.GetDynamicGroups call to he SnSecurityContext.GetGroups call infinitely. The problem is that the SnSecurityContext.GetGroups call ends up calling the User.GetDynamicGroups method indirectly (through the security context) that calls the GetGroups again.