mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
Move the providers index from /providers to /add-secure-apps/providers and add Netlify redirect rules that preserve provider URL suffixes. Refactor the docusaurus-theme redirects module around a single compiled rule list, share the plugin wiring between the three sites through a new createRedirectPlugins helper, cover the rewrite logic with unit tests, and guard finalDestination against cyclic redirect chains. Trailing-slash normalization now scans the string instead of using the /\/+$/ regex that CodeQL flags as polynomial (js/polynomial-redos), both here and in the llms-txt plugin. Also a cleanup pass over the docs build infrastructure: the API site reuses the shared Algolia and footer configuration instead of a drifted copy (its externalUrlRegex now excludes api.goauthentik.io rather than docs.goauthentik.io), and latent lint errors in the llms-txt module are fixed. Agent-thread: https://koala.sdko.net/th?h=cc&d=a7k&t=302ebcb6-6a2d-4acc-a9d0-c1ad40f52e14 Signed-off-by: Dominic Roy <dominic@goauthentik.io> Co-authored-by: Dominic R <dominic@goauthentik.io> Co-authored-by: Agent <claudeagent@svc.sdko.net>