Skip to content

v1.6.7

Choose a tag to compare

@mastacontrola mastacontrola released this 17 Aug 19:59
· 6 commits to main since this release
6d7ee5b

A one-line fix that turns the OIDC plugin from unusable back into usable.

clientId ends in "id", and FOGController::save() read any key ending
that way as an integer foreign key. Because clientId is required, the
mismatch did not degrade provider rows — it made creating one impossible,
reported as Required database field is empty: clientId about a field the
admin had filled in, and shown in the UI as the generic "Add provider
failed!". No provider meant no provider group, which meant the Role and User
Group provider-group tabs added in v1.6.6 had nothing to associate.

The model now declares clientId a string, and the base class stops
inferring a column's type from its name.

Requires fogproject working-1.6 with FOGProject/fogproject#1153. Without
it the declaration is simply unread, so this release is safe to install
either way. Pair with the FOG_PLUGINS_VERSION bump to v1.6.7.