-
-
Notifications
You must be signed in to change notification settings - Fork 206
request.user always undefined in cloud functions #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey, do you have an example of the cloud function you are calling and the
response?
…On Sat, 29 Aug 2020, 10:24 Nana Axel, ***@***.***> wrote:
Hi all,
I'm experiencing an issue when calling cloud functions. request.user is
always undefined, even id the user is logged in. I've seen that there was a
similar issue (#266
<#266>) but
the solution was to use autoSendSessionId: true and define the client ID,
thigs that have done before to know that it's a possible solution.
If it can help, there is how I'm initializing Parse:
await Parse().initialize(
APPLICATION_ID,
SERVER_URL,
clientKey: CLIENT_KEY,
autoSendSessionId: true,
appName: APP_NAME,
debug: true,
coreStore: await CoreStoreSembastImp.getInstance(
password: PARSE_LOCAL_STORE_PASSWORD,
),
);
Can someone help please ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#429>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4CPXX5ZNVAYH7UDWASH23SDDCLTANCNFSM4QO4MLFA>
.
|
Hi @phillwiggins, sorry for the delay. After some in depth debugging it's seems that the problem is an async/await misuse from my side 😅. Everything works as expected now. Sorry for the disturbing and thanks for the support 🙂 |
@na2axl Am facing the same problem, can you shed some light as to how you were able to solve this. Thanks |
Hi guys i have the same problem on back4app. I set both the autoSendSessionId and the clientkey .... any ideas? Thanks for your help |
Hi all,
I'm experiencing an issue when calling cloud functions.
request.user
is always undefined, even if the user is logged in. I've seen that there was a similar issue (#266) but the solution was to useautoSendSessionId: true
and define the client ID, things that I'have done before to know that it's a possible solution.If it can help, there is how I'm initializing Parse:
Can someone help please ?
EDIT
I'm using:
The text was updated successfully, but these errors were encountered: