Closed subhendukundu closed 1 year ago
Latest commit: |
ccd99bf
|
Status: | ✅ Deploy successful! |
Preview URL: | https://eb0a86ac.worker-auth-providers-axj.pages.dev |
Branch Preview URL: | https://feature-github-login-updates.worker-auth-providers-axj.pages.dev |
This pull request updates the GitHub login functionality to include a redirect URL and allow signup option. The following changes have been made:
redirectUri
property to theOptions
type, allowing the specification of a custom redirect URL.redirect_uri
parameter in the authorization URL when constructing the GitHub login URL.allowSignup
property to theOptions
type, allowing control over the user's ability to sign up for a new GitHub account.allow_signup
parameter in the authorization URL with a default value oftrue
.params
object with theParams
interface to ensure type safety.