simplesamlphp / simplesamlphp-module-oidc

A SimpleSAMLphp module for OIDC OP support.
Other
45 stars 23 forks source link

DB CONSTRAINT PK_ALLOWED_ORIGIN should use generate a unique name #171

Closed pradtke closed 2 years ago

pradtke commented 2 years ago

Our table names use the database.prefix setting to make them unique. Our other constraints use these unique DB table names to make the constraint names unique. PK_ALLOWED_ORIGIN doesn't use this. I have two test idps using the same database, and this prevents them from both using oidc.

It should use $this->generateIdentifierName like the other constraint names.