Թողարկման նշումներ
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.
Տեղադրել այս տարբերակը
- 1
Բացեք պլագինների ցանկը Hostpanel-ի ադմինում։
- 2
Տեղադրեք «google-signin» նույնացուցիչով պլագինը և ընտրեք 1.0.0 տարբերակը։
- 3
Hostpanel-ը ռեեստրից ներբեռնում է այս ստորագրված փաթեթը և բեռնելուց առաջ ստուգում ստորագրությունը և SDK-ի տարբերակը։