waiting-for-dev/devise-jwt

how save unique device id in `whitelisted_jwts` table?

serg2801 opened this issue · 2 comments

Hi Guys.
I'm using this gem for api and I need to send push notifications to mobile app. I can't find any way for store unique device id in whitelisted_jwts table.
gem does not support it?
Thanks.

It stores the token aud claim which is set through the aud_header, so you can configure it and send the device id along with it.

@waiting-for-dev yes it works. thanks a lot.