sidebase / nuxt-auth

Authentication built for Nuxt 3! Easily add authentication via OAuth providers, credentials or Email Magic URLs!
https://auth.sidebase.io
MIT License
1.25k stars 162 forks source link

Redirect user back to requested page after authentication #862

Closed andychukse closed 1 month ago

andychukse commented 1 month ago

Redirect user back to requested page after authentication

โ“ Type of change

๐Ÿ“š Description

Redirect user back to requested page after authentication Add redirect query parameter to middleware navigateTo when a guest visits authenicated page. This will help users redirect back to previous page after sign in.

861

Provider

๐Ÿ“ Checklist