Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

JWT Invalid signature #76

Open
Open
@oussamabenkemchi

Description

@oussamabenkemchi

Hi,
I'm trying to implement the jwt authorization, but I'm always getting the error message at the token verification (Signature invalid').
How am I supposed to implement the authorization system since there is no doc available?
my technique is to add the appropriate environment variables (RTSP_STREAM_AUTH_JWT_ENABLED=ture | RTPS_STREAM_AUTH_JWT_SECRET="something"), change the config file .yml, and then send the token ="Bearer token" in the request header.
NB;token generated by jsonwebtoken library via hmac algorithm.
thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions