Release notes
Added
- Sign in with Apple (
apple-signin, typeApp, capabilitysignIn, provider keyapple) built on the SDK sign-in contractISignInPluginofHostpanel.Sdk3.19.0. Minimum host 0.12.0. - The challenge sends the browser to Apple's authorization endpoint with
response_type=code,response_mode=form_post,scope=name email, the Services ID and the host's state, nonce and callback address. - The callback exchanges the code at Apple's token endpoint with a fresh ES256 client secret (five minutes) signed by the operator's
.p8key, verifies the id_token with RS256 against Apple's published keys (cached, refreshed on an unknown key id at most once a minute) and checks the issuer, audience, expiry and nonce. - The identity carries Apple's stable subject, the email from the verified token (a private relay address is an ordinary verified address;
email_verifiedis read as a boolean or as text), and the name from the one-timeuserfield of a first authorization. - A refused code is
InvalidToken, a refused client or a malformed keyNotConfigured, an unreachable or failing AppleProviderUnavailable, a cancelled authorizationAccessDenied. The private key is a secret setting and never appears in a log line, an exception or a printed object.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "apple-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.