GitHub - supabase-community/gotrue-java: A Java client library for the GoTrue API. (original) (raw)

A Java client library for the GoTrue API.

Installation

WIP

Configuration

Via properties file or environment variables. If both are specified the ones from the environment are used.

Environment

Url of the GoTrue Server.

Default headers that are included with every request to the API.

GOTRUE_HEADERS=MyHeader=MyValue, Header2=Val
// or
GOTRUE_HEADERS=MyHeader:MyValue, Header2:Val

The GoTrue JWT secret to validate jwt Tokens.

GOTRUE_JWT_SECRET=superSecretJwtToken

Properties

Url of the GoTrue Server.

Default headers that are included with every request to the API.

gotrue.headers=MyHeader:MyValue, Header2:Val // or gotrue.headers=MyHeader=MyValue, Header2=Val

The GoTrue JWT secret to validate jwt Tokens.

gotrue.jwt.secret=superSecretJwtToken

Documentation

ToDo

Development

Start infrastructure for testing.

cd infra docker compose up