Release notes
Added
- Sign in with GitHub (
github-signin, typeApp, capabilitysignIn, provider keygithub) built onHostpanel.Sdk3.19.0 (ISignInPlugin), for host 0.12.0 and later. - The authorization address uses the OAuth 2.0 authorization code flow with PKCE (S256), the scopes
read:user user:email, the host's state unchanged, and the operator'sallow_signupchoice. - The code is exchanged with the client secret and the PKCE verifier; a token answer with an
error(wrong, reused or expired code) is an invalid token, a wrong client credential or callback address is not configured. - The identity's subject is the numeric GitHub user id. Only the primary, verified email from
/user/emailsis passed on; otherwise the email is empty and unverified. The public profile email is never used. - An unreachable GitHub, a server error or a rate limit answers provider unavailable; a refused token answers invalid token. The client secret is a secret setting; the access token is never stored, logged, thrown or returned.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "github-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.