CE-1654 activate chickenAndEggSession while calling customizer.finalCustomizeSession

This commit is contained in:
2024-09-03 22:01:07 -05:00
parent 89cf23a65a
commit f457fd0860

View File

@ -313,7 +313,11 @@ public class Auth0AuthenticationModule implements QAuthenticationModuleInterface
////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////
if(getCustomizer() != null) if(getCustomizer() != null)
{ {
QContext.withTemporaryContext(QContext.capture(), () ->
{
QContext.setQSession(getChickenAndEggSession());
getCustomizer().finalCustomizeSession(qInstance, qSession); getCustomizer().finalCustomizeSession(qInstance, qSession);
});
} }
return (qSession); return (qSession);