Files
tinyauth/README.md

1.2 KiB

tinyauth

Tinyauth is a simple authentication middleware that adds a simple login screen or OAuth with Google, Github or any other provider to all of your apps.

  • Category: Utilities
  • Status: 0
  • Image: tinyauth, 4, upstream
  • Healthcheck: Yes
  • Backups: No
  • Email: No
  • Tests: No
  • SSO: Yes

Quick start

  • abra app new tinyauth
  • abra app secret insert <app-name> client_secret v1 yoursecret
  • abra app config <app-name>
  • abra app deploy <app-name>

Using the app with other services

When using tinyauth you probably need to set TINY_MIDDLEWARE. This variable needs to match the STACK_NAME of this app. For example this app is deployed at auth.example.com the TINY_MIDDLEWARE should be auth_example_com.

Add support to other recipes

  1. Add an extension compose file with the following content.
services:
	  app:
	    deploy:
	      labels:
	        - "traefik.http.routers.${STACK_NAME}.middlewares=${TINY_MIDDLEWARE}"
  1. Add the TINY_MIDDLEWARE variable.

For more, see docs.coopcloud.tech.