You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
Thanks for this great package!
I'm working in an app, and I'm trying to save the store data (the store domain and the access token of the user) in a database.
I thought the best way to do this is in afterAuth, because you want to do this as early as possible in the process. The problem is that the database APIS are Promise/Async-Await based, and it seems like it's not possible to wait for afterAuth to return the redirection.
Perhaps my design is bad, or perhaps there's a way to combine afterAuth with an async middleware? Or is this something which is not supported?
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for this great package!
I'm working in an app, and I'm trying to save the store data (the store domain and the access token of the user) in a database.
I thought the best way to do this is in afterAuth, because you want to do this as early as possible in the process. The problem is that the database APIS are Promise/Async-Await based, and it seems like it's not possible to wait for afterAuth to return the redirection.
Perhaps my design is bad, or perhaps there's a way to combine afterAuth with an async middleware? Or is this something which is not supported?
The text was updated successfully, but these errors were encountered: