Is possible to prevent JWT being used multiple times?

Hello, Jitsi teams and users.
I’m trying to use JWT for authentication.
I want to prosody not to allow JWT being used multiple times.

Suppose that Alice received a token and used its value to create or join room.
Even If Bob steals Alice’s JWT, Bob couldn’t use It to create or join room.
because alice’s JWT already have been used once.
That’s exactly feature what I’m looking for.
I’m looking for many documents to find out a options that make such thing happens. But unfortunately I failed to find out such options.

Can you give me some advices?

Thank you all in advance.

You can use the exp (expiration time) field with a very short period in your token.

1 Like

Thank you for simple and great solution!!