Releases: Gecka-Apps/NcConnect
Releases · Gecka-Apps/NcConnect
🪸 v2.0.0 - Same lagoon, new reef
What's new
NC Connect V3 migration — the authentication platform moves from a custom OAuth2 server to Keycloak (OpenID Connect).
Features
- Keycloak endpoints — all OAuth2 URLs updated to
/v3/realms/nc-connect/protocol/openid-connect/... - Nonce validation — OIDC nonce generated and validated on id_token to prevent replay attacks
- Token refresh — V3 access tokens expire after 30 minutes;
refreshToken()support built-in - Configurable auth method —
client_secret_basic(default) orclient_secret_post - Typed User accessors —
getVerifiedLevel(),isEmailVerified(),getFirstName(),getFamilyName(),getBirthdate(), etc. - Flexible logout —
generateLogoutURL()accepts optional$idTokenHintand$postLogoutRedirectUriparameters (RP-Initiated Logout) - New claim —
first_name(first given name only, vsgiven_namewhich returns all given names)
Breaking changes
- Package renamed to
gecka/socialite-ncconnect - Requires PHP 8.2+
birthcountryclaim removed — usebirthplaceinsteadgenerateLogoutURL()no longer manages session state — store$user->tokenIdand pass it as parameter
See UPGRADE.md for the full migration guide.
Other
- Added MIT license
- Added CI workflow (Pint lint + PHP 8.2–8.5 syntax check)
- Rewritten README with full documentation
🌊 v1.0.0 - New wave
Initial release of NcConnect — NC Connect V2 OAuth2 Provider for Laravel Socialite.
Forked from SocialiteProviders/FranceConnect and adapted for NC Connect, the authentication platform of the Government of New Caledonia.