dwyl / dwyl/auth

Github Oauth scope

Open
#182 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Elixir
Stars
141
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Currently the scope used for Github oauth is defined manually:
https://github.com/dwyl/auth/blob/e1216674c478d5fcb983f0c2f919829a50db1ca2/lib/auth_web/controllers/auth_controller.ex#L65

However with our [Labels application](https://github.com/dwyl/labels/) we want to allow users to login with Github and to be able to add/remove labels from repositories. This means that we need a way for the auth app to define which scopes to allow for the applications.

List of Github scopes: https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.