Open lhoekenga opened 7 years ago
The insert statements in scopes.sql also assumes a different table schema. It seems similar to https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1303
It looks like the SQL files have changed a bit between the 1.3.1 MitreID release and what's in master. Probably should fix some of this there.
This probably should be included:
<jdbc:script location="%{idp.home}/conf/schema/%{oidc.db.schema.type}/loading_temp_tables.sql"/>
Would you prefer to send a PR or shall I simply make the change?
I think the only thing that needs to be loaded is
<jdbc:script location="%{idp.home}/conf/schema/%{oidc.db.schema.type}/%{oidc.db.schema.type}_database_index.sql"/>
I've updated to the overlay based on MitreID 1.3.x, and I'm trying to use an external SQL backend (MySQL).
It's having problems loading the tables...
loading_template_tables.sql is referenced in system/conf/oidc-protocol-storage.xml:
The comment from MitreID 1.3's loading_template_tables.sql says:
It looks like either loading_template_tables.sql should be added, or these should be commented out in system/conf/oidc-protocol-storage.xml: