oauth make device work propoer with jwt token