pusher / docs

The all new Pusher docs, powered by @11ty and @vercel
https://pusher.com/docs
8 stars 15 forks source link

Pusher Beams | Invalid JWT Claims Error: "Token used before issued" on Pusher iOS during beamsClient.setUserId on iOS Simulator #336

Open sumit-recoverlution opened 2 months ago

sumit-recoverlution commented 2 months ago

Hello Pusher Support Team,

I am encountering an issue with the Pusher Beams SDK on an iOS Simulator. When attempting to set the user ID using beamsClient.setUserId, I receive the following error: "Invalid JWT claims: Token used before issued".

Steps to Reproduce:

Initialize the Beams client on the iOS Simulator. Call beamsClient.setUserId with a valid user ID and JWT. Observe the error "Invalid JWT claims: Token used before issued".

iOS Simulator Version 15.4 (1019.2)

Also, can I use both device interests and authenticated users with Pusher Beams on the same device in an iOS application or iOS Simulator?