omgitsmiles / ctrl-your-finances

Flatiron Hackathon
0 stars 2 forks source link

Refine OAuth Redirects #35

Closed jgrimes86 closed 7 months ago

jgrimes86 commented 7 months ago

If a user is logged in, returning to the site should direct the user to the dashboard.

If a user is not logged in, attempting to go to a protected page should direct the user to the frontpage, not the login page.

jgrimes86 commented 7 months ago

Nevermind. It makes sense that a user trying to get back to the page would be redirected to login, and the Front Page has a 'dashboard' button when a login in user goes there.