Skip to content

dopos/narra

Repository files navigation

narra

nginx auth_request via remote api

Project status: Production use since 2017.

This program intended to be used for client authentication with

OAuth2 services supported:

Also, narra accepts auth via header with Gitea Access Tokens for non-interactive use cases, see dcape-config-cli.

Usage example available inside dcape project.

Install

narra is available as docker image at

Problems known

Chain of requests with warning Cookie decode error: securecookie: the value is not valid in logfile means you have the same cookie for upper domain. This is configuration problem and you should rename one of these cookies (see --as.cookie_name).

See also

OAuth2 proxies

History

Primary goal was to allow logins via gitea API. Starting from v0.10 narra uses OAuth2 services like gitea or mattermost.

Since v0.20 narra can act as Traefik2 ForwardAuth service.

License

The MIT License (MIT), see LICENSE.

Copyright (c) 2017-2024 Aleksei Kovrizhkin [email protected]