Skip to content

Commit

Permalink
feat: GitHubのClient IDとClient secretsをomniauthに設定 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
djkazunoko committed Apr 10, 2024
1 parent f046971 commit 2c9a3d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Rails.application.config.middleware.use OmniAuth::Builder do
provider :github,
Rails.application.credentials.github[:client_id],
Rails.application.credentials.github[:client_secret]
end

0 comments on commit 2c9a3d6

Please sign in to comment.