Skip to content

Commit 3c642d9

Browse files
committed
Add jwt gem to handle API authentication
1 parent 7a1812c commit 3c642d9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ gem 'devise'
5454
# Font-Awesome for icons
5555
gem 'font-awesome-sass', '~> 6.2.0'
5656

57+
# Use JWT for token authentication on API
58+
gem 'jwt'
59+
5760
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
5861
# gem "image_processing", "~> 1.2"
5962

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ GEM
119119
actionview (>= 5.0.0)
120120
activesupport (>= 5.0.0)
121121
json (2.6.2)
122+
jwt (2.5.0)
122123
launchy (2.5.0)
123124
addressable (~> 2.7)
124125
letter_opener (1.8.1)
@@ -300,6 +301,7 @@ DEPENDENCIES
300301
font-awesome-sass (~> 6.2.0)
301302
importmap-rails
302303
jbuilder
304+
jwt
303305
letter_opener
304306
pg (~> 1.1)
305307
puma (~> 5.0)

0 commit comments

Comments
 (0)