Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(provider): use more restrictive default scope for GitHub (nextau…
…thjs#2579) When using the default settings of the Github provider, with the "user" scope, it grants read/write access to profile info only. By changing to "read:user" and "user:email" it will only request read-only access https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps BREAKING CHANGE: By default, the GitHub Provider scope won't ask for full write access to user profiles. If you need that, you will now have to add the `user` scope to your configuration.
- Loading branch information