cancel
Showing results for 
Search instead for 
Did you mean: 

EVM - Error loading value sets on login

Daurel_Mergui1
Champ on-the-rise
Champ on-the-rise

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:

da2c7225c8c9432aaee46d8bbe5b71c9

 

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?

1 ACCEPTED ANSWER

Daurel_Mergui1
Champ on-the-rise
Champ on-the-rise

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.

View answer in original post

2 REPLIES 2

Daurel_Mergui1
Champ on-the-rise
Champ on-the-rise

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.

I am super glad you figured this out. This will definitely help me out in very near future! 🙂