đ¤Authentication
This GraphQL server is expecting that all the applications and services that consumes him, uses an Identity server that generates secure jwk authentication tokens.
Our server defines a middleware function that decodes the token and validate it against the Identity server on every request using the following libraries: jsonwebtoken and jwks-rsa.
In order to connect your new application to an identity server, the following configuration variables must be filled in .env
file:
IDENTITY_API_URL -> Identity API url, your Identity server API url
IDENTITY_AUTHORITY -> Identity authority
IDENTITY_OPENID_CONFIGURATION -> Identity openId configuration
Last updated