Get session in server action #11906
Unanswered
ezeparziale
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I need to get the
AUTH_SECRET
,AUTH_GOOGLE_ID
andAUTH_GOOGLE_SECRET
from a GCP API using secrets.But I need to use await inside
auth.ts
andauth.config.ts
Everything works perfectly except when I try to execute the session retrieval in a server action.
I got this error:
Any alternatives? or a posible solution?
Beta Was this translation helpful? Give feedback.
All reactions