# #39 Devise Authentication from ZERO

- URL: https://superails.com/posts/ruby-on-rails-39-devise-authentication-from-zero
- Published: 2021-06-19
- Duration: 21:39
- Access: free
- Topics: devise
- Playlists: Devise Authentication (Login)

Episode covering user log-in functionality for for entry-level developers.

Source code: https://github.com/corsego/39-devise-basics
Gem devise: https://github.com/heartcombo/devise#getting-started

0:00 Introduction
1:20 Static Pages. Hello world 
5:35 Install Gem Devise
11:25 Url for user to sign in
12:25 see if user is logged in
13:47 LogOut button
15:11 see user data only if logged in
15:51 conditionally display user data or LogOut
16:25 conditionally LogIn or LogOut
18:39 user-only access

## Chapters

- 0:00 Introduction
- 1:20 Static Pages. Hello world
- 5:35 Install Gem Devise
- 11:25 Url for user to sign in
- 12:25 see if user is logged in
- 13:47 LogOut button
- 15:11 see user data only if logged in
- 15:51 conditionally display user data or LogOut
- 16:25 conditionally LogIn or LogOut
- 18:39 user-only access
