Skip to content

Releases: Gecka-Apps/NcConnect

🪸 v2.0.0 - Same lagoon, new reef

26 Feb 23:33

Choose a tag to compare

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 methodclient_secret_basic (default) or client_secret_post
  • Typed User accessorsgetVerifiedLevel(), isEmailVerified(), getFirstName(), getFamilyName(), getBirthdate(), etc.
  • Flexible logoutgenerateLogoutURL() accepts optional $idTokenHint and $postLogoutRedirectUri parameters (RP-Initiated Logout)
  • New claimfirst_name (first given name only, vs given_name which returns all given names)

Breaking changes

  • Package renamed to gecka/socialite-ncconnect
  • Requires PHP 8.2+
  • birthcountry claim removed — use birthplace instead
  • generateLogoutURL() no longer manages session state — store $user->tokenId and 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

26 Feb 22:46

Choose a tag to compare

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.