If you already created Help Center and added and saved SAML configuration, you can't change Issuer (Entity ID). To change Issuer you need to click Disable button (in right up corner). Notice: All other settings will be cleaned as well.
In Twig exist "constant" function that returns constant value, but if you set "class" in first parameter and object in second parameter, then function returns the fully qualified class name of an object. So we can use it in our case and compare it on class name that we want to check like "instanceof". Example: {% if constant('class', app.user) == 'User' %}{% endif %} Or with namespace: {% if constant('class', app.user) == 'EntityBundle\\Entity\\User' %}{% endif %}
Comments