BSD Ports

www/tinyauth 5.1.3_3 FreeBSD

Simplest way to protect your apps with a login screen

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
GPLv3
Categories
www
Package size
11615.7 KiB, 41491.8 KiB installed

Description

Tinyauth is a simple authentication middleware that adds a simple login screen or OAuth with Google, Github and any provider to all of your docker apps. It supports all the popular proxies like Traefik, Nginx and Caddy.

Install

Binary package:

pkg install tinyauth

From the ports tree:

cd /usr/ports/www/tinyauth/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	tinyauth>0:www/tinyauth

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.1.3_25.1.3_2-3.6.2_1-
FreeBSD:14:quarterly5.1.3_25.1.3_2n/a3.4.1-
FreeBSD:15:latest5.1.3_25.1.3_2n/a3.6.2_13.6.2_1
FreeBSD:15:quarterly5.1.3_25.1.3_2n/an/an/a
FreeBSD:16:latest5.1.3_15.1.3_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
go:modules
Service scripts
tinyauth

Message after installing

Tinyauth is installed

1) Configure it in /usr/local/etc/tinyauth.env

   1.1) If you just want to see a quick demo, add an entry to the
        hosts(5) file on the client that will connect to tinyauth,
        something like this:

     127.0.0.1    tinyauth.example.localhost

   1.2) Next, create a user:

     su -m tinyauth -c 'tinyauth user create --interactive'

   1.3) Add the result to /usr/local/etc/tinyauth.env, escaping any
        dollar signs:

     TINYAUTH_APPURL=http://tinyauth.example.localhost:3000
     TINYAUTH_AUTH_USERS="user:\$2a\$10\$n3t.jAIhfTHT1x/iROffGel9OQeEKh74sETmyf7XikZKLHfASRJ8K"

2) Enable it with

     sysrc tinyauth_enable=YES

3) Start it with

     service tinyauth start

Since version 4.0.0, Tinyauth is a stateful application, which means you must set
DATABASE_PATH to /var/db/tinyauth/tinyauth.db if you want sessions to persist even
after restarting.

Please refer to the current documentation for any changes you
need to make to your configuration file:

  https://tinyauth.app/docs/breaking-updates/3-to-4/

This release introduces some breaking-changes, please refer to the documentation
for migration instructions:

  https://tinyauth.app/docs/breaking-updates/4-to-5

Files

distinfo 3
FileSizeSHA256
tinyauth-v5.1.3.frontend.tar.gz1.005278e+06d87df5380010d825eef8c4da1a7f2f3566a9194b2bbffe5ae7fe69306a066a59
tinyauth-v5.1.3.vendor.tar.gz3.9627897e+07e922fa9138ebed0897cb9d493b2595b61eac4e095b341961215a22e35d74e932
steveiliop56-tinyauth-v5.1.3_GH0.tar.gz4.944879e+060cf49503cb02ff214780ce85b0b72e203fece84227e553166dd28ef2db7a5145
Master sites 1
  • LOCAL/dtxdf/tinyauth/:assets

Commit history 9

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
2c73fa4d6e Dag-Erling Smørgrav various: Drop Go 1.26+ version pin
This is a nop since 1.26 is the oldest supported version.
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
6b6575afbc Jesús Daniel Colmenares Oviedo www/tinyauth: Update to 5.1.3
ChangeLog: https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.3

The latest 5 of 9 in the history this site was built from.