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