Add server-side access to tokens and session for the local
and refresh
providers
#854
Open
3 of 5 tasks
Labels
enhancement
An improvement that needs to be added
provider-local
An issue with the local provider
provider-refresh
An issue with the refresh provider
Describe the feature
A set of simple server-side functions that mirror
getServerSession
andgetToken
from theauthjs
provider, but for thelocal
andrefresh
providers.How would you implement this?
Add the two new functions, extract the token via the cookie from the h3
event
. To retrieve the session data, use the token and send a backend request to the configured authentication API and return the data.Additional information
Provider
The text was updated successfully, but these errors were encountered: