GitHub - supabase-community/gotrue-java: A Java client library for the GoTrue API. · GitHub
Skip to content

supabase-community/gotrue-java

Folders and files

gotrue-java WIP CI codecov

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.

GOTRUE_URL=https://...

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.

gotrue.url=https://...

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

  • [ ] support OAuth
  • deploy to maven
  • deploy to gradle?

Development

Start infrastructure for testing.

cd infra
docker compose up

About

A Java client library for the GoTrue API.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors