manage authncontextclassref for access gateway

Hello,

My customer is using externa IDP extensible for authentication.

Now we have detected that we are getting a error when users are authenticating to portal (/nidp/app), after authentication at external IDP the user is returning with <saml2:AuthnContextClassRef>id.elegnamnden.se/.../saml2:AuthnContextClassRef> and that makes NAM to loop back to login page.

When we are handling other Saml SP we usally sets SAML2 AVOID AUTHNCONTEXT DECLARATION REFERENCE  to True

Is there a way to do the same between MAG and IDP in singelbox setup?

We are also seeing something similar when switching between smal and ws federation/wstrust

/Lennart