Closed despotes closed 1 year ago
@filbranden I think this is something for you
Merging #376 (8b872ae) into master (77c370d) will decrease coverage by
0.31%
. The diff coverage is83.33%
.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@ Coverage Diff @@
## master #376 +/- ##
==========================================
- Coverage 92.84% 92.54% -0.31%
==========================================
Files 26 26
Lines 797 805 +8
==========================================
+ Hits 740 745 +5
- Misses 57 60 +3
Impacted Files | Coverage Δ | |
---|---|---|
app/helpers/application_helper.rb | 80.00% <60.00%> (-20.00%) |
:arrow_down: |
app/controllers/main_controller.rb | 100.00% <100.00%> (ø) |
|
app/controllers/users_controller.rb | 100.00% <100.00%> (ø) |
|
app/services/show_profile.rb | 100.00% <100.00%> (ø) |
|
lib/vimgolf/lib/vimgolf/cli.rb | 85.82% <100.00%> (+0.11%) |
:arrow_up: |
Nice work, thank you!
Nice work, thank you!
Thank you @igrigorik, one importantt thing is that who has the production access needs to add the environment variables for github oauth:
GITHUB_OAUTH_ID
GITHUB_OAUTH_SECRET
provider(
:github,
ENV.fetch('GITHUB_OAUTH_ID', 'dev'),
ENV.fetch('GITHUB_OAUTH_SECRET', 'dev')
)
Following the vimgolf site's instructions - i.e. gem install and vimgolf setup - there is no mention of using github auth, prompting only for a twitter key.
If github auth is supported could we have some better instructions on how to use it?
Following the vimgolf site's instructions - i.e. gem install and vimgolf setup - there is no mention of using github auth, prompting only for a twitter key.
If github auth is supported could we have some better instructions on how to use it?
It seems that while the implementation for GitHub oAuth is in place, the repository owner might not have had the time to add the necessary client secret and client Id during the deployment phase. Only the repository owner @igrigorik , as far I know, can incorporate these keys securely. So, even if GitHub auth is supported in the codebase, it might not be functional until those keys are integrated.
sorry for the inconvenience
OAuth Integration and Profile Updates
Description:
This pull request aims to enhance the Vimgolf application by introducing:
Changes
omniauth-github
gem to enable GitHub OAuth integration. (e46be342ab696393b271096a5b237efdbbe4141f)config/initializers/omniauth.rb
andconfig/routes.rb
) to support dynamic provider routing and accommodate the GitHub provider. (e495dcc2adb08dc7dd31744fb60104776d99fc25)/:id/:username
to prevent collisions between users with the same nickname but different providers. (8f8b5e36171ffadf1cba1ffd11b6a9017bf545fb)These updates enhance the user experience by providing OAuth login options and ensuring accurate profile information. The code has been thoroughly tested and is ready for review and integration into the main codebase.
Please review and merge this pull request. Thank you for your time and consideration!