goauthentik / goauthentik/authentik
[Feature Request] Log original URL when authenticaing
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 644
Description
**Is your feature request related to a problem? Please describe.**
I come from using Authelia, and while I obviously switched for good reason, one of the most useful features is being able to go into the logs and see exactly what URLs were being denied due to not being able to log in (URLs like `https://google.com/sign-in/xx/yy/zz=1234567890asdggjkl`)
The use of this feature allows clarifying, in the events of remote access through API keys to services like Portainer or Sonarr, which exact paths need to remain unauthenticated through Authentik, such as `/api` or `/identity` for example, though in some cases use less common wording, like `/wl` or `/login` compared to other apps.
**Describe the solution you'd like**
Log unauthenticated URLs in the console log.
**Describe alternatives you've considered**
Not much.
**Additional context**
While this *might* be possible through the current logs, it is next to impossible to decipher what the original target URL is based on the jibberish that comes out (which primarily focuses on the redirect auth URL). I understand this might be far our of the scope of features and perhaps niche, but it is a great quality of life addition.
Contributor guide
Assessment
This issue has not been assessed yet.