12-03-2021 09:16 AM
Hello Everyone
We have managed to get IDP operational for EVM, however we are currently encountering the below error once a user has logged in:
I have gone through diagnostics logs and there does not appear to be any error / warning messages denoting a potential cause. Is there any aspects of the configuration I can review?
12-06-2021 08:41 AM
I have managed to figure out what the issue was. Under the appsettings.json for EVM-API the scope value must be set as openid, it is set to {scope} by default.
{ "Hyland.Logging": { "Routes": { "DiagnosticsConsole": { "Http": "http://localhost:8989", "minimum-level": "Trace" } } }, "Host": { "OnBase": { "ConnectionStringProvider": "Configuration" }, "AllowedOrigins": [ "https://sername.domain/evm-ui" ], "Webserver": { "http": { "port": "5000" } } }, "Tenant": [ { "DataSource": "OnBase Datasource Name", "DataProvider": "System.Data.SqlClient", "ConnectionString": "Data Source=servername.domain;database=databasename;User Id=username;Password=password;" } ], "App": { "UseMocks": false, "SanitizeErrors": false }, "IDP": { "Scope": { "Name": "openid" } }, "IdPConfig": { "IdP": "https://servername.domain/identityprovider", "Audience": "https://servername.domain/identityprovider/resources", "NameClaimType": "username", "ApiName": "{ApiName}", "ApiSecret": "{ApiSecret}", "RequireHttpsMetadata": true }}
After making this change. Reset the Application Pools for both EVM-API and EVM-UI in IIS.
12-06-2021 08:41 AM
I have managed to figure out what the issue was. Under the appsettings.json for EVM-API the scope value must be set as openid, it is set to {scope} by default.
{ "Hyland.Logging": { "Routes": { "DiagnosticsConsole": { "Http": "http://localhost:8989", "minimum-level": "Trace" } } }, "Host": { "OnBase": { "ConnectionStringProvider": "Configuration" }, "AllowedOrigins": [ "https://sername.domain/evm-ui" ], "Webserver": { "http": { "port": "5000" } } }, "Tenant": [ { "DataSource": "OnBase Datasource Name", "DataProvider": "System.Data.SqlClient", "ConnectionString": "Data Source=servername.domain;database=databasename;User Id=username;Password=password;" } ], "App": { "UseMocks": false, "SanitizeErrors": false }, "IDP": { "Scope": { "Name": "openid" } }, "IdPConfig": { "IdP": "https://servername.domain/identityprovider", "Audience": "https://servername.domain/identityprovider/resources", "NameClaimType": "username", "ApiName": "{ApiName}", "ApiSecret": "{ApiSecret}", "RequireHttpsMetadata": true }}
After making this change. Reset the Application Pools for both EVM-API and EVM-UI in IIS.
12-06-2021 11:51 AM
I am super glad you figured this out. This will definitely help me out in very near future! 🙂
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.