Revoke/delete old JSON Web Tokens

Is it possible to revoke/delete old JSON Web Tokens (generated by the gateway for local authorization)? If yes, how can it be done?

The result shall be that one cannot use them anymore to send API requests/open websockets

If you navigate to Settings -> Authorizations, you can revoke individual tokens.

Oh wow, didn’t see that. Thanks!

Since deleting the tokens I am not able to use new ones. I can generate a new one, but it does not seem to save them and they do not appear under Settings->Authorizations anymore

Thanks for pointing that out! I’ve got a fix here: https://github.com/mozilla-iot/gateway/pull/2430

I’ll get it merged for the upcoming 0.11 release.