Multiple authentication session_id tokens for same user

Hi,

I am using Couchbase mobile client with sync gateway 2.5 and enterprise couchbase server 6. I have the following scenario:

  • I have user Max in SG
  • I have two front ends that authenticate using SessionAuthenticator
  • Frontend A requests a session_id for user Max with TTL 24 hours. session_id is delivered but not consumed yet
  • Frontend B also requests a session_id for user Max with TTL 24 hours.
  • Now FE A consumes its session_id before FE B

Question: Is the session_id of FE B still valid? or did the consumption of FE A make it invalid?

Regards,
Faris

You can have multiple sessions for the same user ID, so in your example B still has a valid session_id.