Release notes
Added
- Sign in with Google through the SDK sign-in contract (
ISignInPlugin, capabilitysignIn, provider keygoogle), built onHostpanel.Sdk3.19.0 and needing host 0.12.0 or later. - OpenID Connect authorization code flow with PKCE (S256), scopes
openid email profile, the host's state and nonce, and an optional login hint. - The code is exchanged at the token endpoint named by Google's discovery document with the client id and secret.
- The id_token is verified before an identity is answered: an RS256 signature by a key from Google's published key set (cached, read again for an unknown key id at most once a minute), a Google issuer, the client id as audience (and
azp), expiry and issue time with a two-minute skew, and the attempt's nonce. Any other algorithm,noneincluded, is refused. - The email is passed on as verified only when Google sets
email_verified. - Optional Google Workspace domain setting: the
hdclaim must match, and the domain is passed to Google as a hint. - Settings: client ID, client secret (a secret setting, stored encrypted by the host, never logged or thrown) and the Workspace domain, with English, Russian and Armenian texts.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "google-signin" and choose version 1.0.0.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.