@pluxbox/integration-toolbox
v0.0.1
Published
Package for jwt authentication for integration in the Pluxbox Platform.
Readme
Pluxbox Integrations Toolbox
Validate Platform Jwt Token
Validates JWT tokens from the platform. They payload will return in a structure defined link this json schema. The token will also include the authentication information.
This payload is validated using the EdDSA algorithm. In the platform a public and private key pair are generated. The
public key is visible in the integration crud. This key can be used to
validate the received token in the request. Tokens will always be sent in the Authorization header. See example request
bellow:
POST https://example.com/graphql
Content-Type: application/json
Authorization: JWT jwt_token_from_the_platform_that_needs_to_be_validated
{"query":"{ __typename }"}