Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Traewelldroid/auth-service

Repository files navigation

auth-service

Important: This service is obsolete since #115 Ktor service for OAuth flow

Endpoints

  • /auth -> Requests a new authorization token and redirects it to the user
  • /auth/callback -> OAuth 2 Callback url

Configuration

Name Description Default
URL The URL of the server http://localhost:8080
HOSTNAME The hostname the server runs on 0.0.0.0
PORT The PORT the server runs on 8080
TRAEWELLING_URL The Träwelling instance used https://traewelling.de
TRAEWELLING_CLIENT_ID Träwelling API Client ID Can be obtained here
TRAEWELLING_CLIENT_SECRET Träwelling API Client Secret Can be obtained here
DEEPLINK URL used to deeplink into the APP https://app.traewelldroid.de

Docker

Pre-built Docker images can be found here and a docker-compose file here