Skip to content

Commit

Permalink
chore: added omniauth gems
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellberg committed Apr 24, 2024
1 parent d18560f commit 96cb29e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ PATH
kiqr (0.1.0)
devise (~> 4.9, >= 4.9.3)
devise-two-factor (~> 5.0.0)
omniauth (~> 2.1.1)
omniauth-rails_csrf_protection (~> 1.0.1)
public_uid (~> 2.2)
rails (>= 7.1.3.2)

Expand Down Expand Up @@ -152,6 +154,7 @@ GEM
i18n (>= 1.8.11, < 2)
globalid (1.2.1)
activesupport (>= 6.1)
hashie (5.0.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
importmap-rails (2.0.1)
Expand Down Expand Up @@ -217,6 +220,13 @@ GEM
racc (~> 1.4)
nokogiri (1.16.4-x86_64-linux)
racc (~> 1.4)
omniauth (2.1.2)
hashie (>= 3.4.6)
rack (>= 2.2.3)
rack-protection
omniauth-rails_csrf_protection (1.0.1)
actionpack (>= 4.2)
omniauth (~> 2.0)
orm_adapter (0.5.0)
parallel (1.24.0)
parser (3.3.0.5)
Expand All @@ -231,6 +241,9 @@ GEM
nio4r (~> 2.0)
racc (1.7.3)
rack (3.0.10)
rack-protection (4.0.0)
base64 (>= 0.1.0)
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
Expand Down Expand Up @@ -276,7 +289,7 @@ GEM
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.9.0)
reline (0.5.2)
reline (0.5.3)
io-console (~> 0.5)
responders (3.1.1)
actionpack (>= 5.2)
Expand Down
2 changes: 2 additions & 0 deletions gems/kiqr/kiqr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "rails", ">= 7.1.3.2"
spec.add_dependency "devise", "~> 4.9", ">= 4.9.3"
spec.add_dependency "devise-two-factor", "~> 5.0.0"
spec.add_dependency "omniauth", "~> 2.1.1"
spec.add_dependency "omniauth-rails_csrf_protection", "~> 1.0.1"
spec.add_dependency "public_uid", "~> 2.2"
end
3 changes: 3 additions & 0 deletions gems/kiqr/lib/kiqr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
require "devise-two-factor"
require "public_uid"

require "omniauth"
require "omniauth/rails_csrf_protection"

module Kiqr
autoload :ApplicationService, "kiqr/application_service"
autoload :Config, "kiqr/config"
Expand Down

0 comments on commit 96cb29e

Please sign in to comment.