Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/supabase-community/gotrue-java
A Java client library for the GoTrue API.
https://github.com/supabase-community/gotrue-java
Last synced: 3 months ago
JSON representation
A Java client library for the GoTrue API.
- Host: GitHub
- URL: https://github.com/supabase-community/gotrue-java
- Owner: supabase-community
- License: mit
- Created: 2020-12-31T11:11:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-01T07:28:21.000Z (about 1 year ago)
- Last Synced: 2024-07-24T20:44:56.326Z (3 months ago)
- Language: Java
- Homepage:
- Size: 715 KB
- Stars: 10
- Watchers: 4
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `gotrue-java WIP` ![CI](https://github.com/supabase/gotrue-java/workflows/CI/badge.svg?branch=master) [![codecov](https://codecov.io/gh/supabase/gotrue-java/branch/master/graph/badge.svg?token=V2T6WRH9CB)](https://codecov.io/gh/supabase/gotrue-java)
A Java client library for the [GoTrue](https://github.com/supabase/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.
```environment
GOTRUE_URL=https://...
```Default headers that are included with every request to the API.
```environment
GOTRUE_HEADERS=MyHeader=MyValue, Header2=Val
// or
GOTRUE_HEADERS=MyHeader:MyValue, Header2:Val
```The GoTrue JWT secret to validate jwt Tokens.
```environment
GOTRUE_JWT_SECRET=superSecretJwtToken
```## Properties
Url of the GoTrue Server.
```properties
gotrue.url=https://...
```Default headers that are included with every request to the API.
```properties
gotrue.headers=MyHeader:MyValue, Header2:Val
// or
gotrue.headers=MyHeader=MyValue, Header2=Val
```The GoTrue JWT secret to validate jwt Tokens.
```properties
gotrue.jwt.secret=superSecretJwtToken
```# Documentation
- [JavaDoc](https://supabase.github.io/gotrue-java/)
# ToDo
- ~~[ ] support OAuth~~
- [ ] deploy to maven
- [ ] deploy to gradle?# Development
Start infrastructure for testing.
```bash
cd infra
docker compose up
```