Find out if a user is currently authenticated / has an active session #2455
Unanswered
antonio-masotti
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hi @antonio-masotti, thanks for reaching out. I am searching and gathering the right information in order to provide you the most accurate answer, so that I am going to use this thread to provide you an update as soon as I get it. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @antonio-masotti, in order to continue with researching in regarding with your inquire, could you please:
Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
thanks first of all for the great work you're all doing.
I am wondering if there is a way to find out if a given user is currently logged in. We have a frontend which is an Amplify App and a Backend written in PHP. In the frontend I can retrieve the currently authenticated user using
Auth.currentSession
(from the@aws-amplify
package), but is there a way from the backend, given some parameters (username, accessToken, userPool etc...), to find out if the user making a request is also currently active?I could not find anything in this direction in the docs but probably I'm missing / overseeing something.
Thanks a lot in advance!
Beta Was this translation helpful? Give feedback.
All reactions