I need to change the Iss claim in the ID token for the WOS2 Identity Server (5.7.0). I know how to do this through the management console, but I need to do it through configuration code for a more automated deployment experience. To do this through the management console, go to Identity Providers > Resident > Inbound Authentication Configuration > OAuth2/OpenID Configuration > Identity Provider Entity ID. This is the only editable field in this list. Here is the location:
How do I edit this field through code? Is it the Identity.xml > SSOService > EntityId field? This does not seem to work when I try to edit this field, does it only work when the database is seeded or is there a different field I need to change?