Lowercase appid value in preferences table
The ID of this app in Nextcloud is just lowercase scimserviceprovider
.
Part of its operation includes storing an entry in the preferences
table for users, e.g.:
userid | appid | configkey | configvalue
--------------------+---------------------+------------+-------------
foo.bar@domain.com | SCIMServiceProvider | ExternalId | foo.bar
I recommend changing the code to store the lowercase ID of the app in the appid column, i.e. scimserviceprovider
. In part because for consistency reasons, and also because the value stored there right now is simply not equal to the actual ID of the application.
On a related note, we should probably also correct the configkey
from ExternalId
to just externalId
to be more in line with SCIM.