fix(authelia): redirection URL require https (#10026)

**Description**
Force https:// for redirection URL and update setup guide to reflect.

⚒️ Fixes  #

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [X] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**

**📃 Notes:**
Please verify I did this correctly.

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [X] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
kqmaverick
2023-06-29 07:38:31 +02:00
committed by GitHub
parent 31c576d438
commit b0380eab63
4 changed files with 27 additions and 4 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ sources:
- https://github.com/authelia/chartrepo - https://github.com/authelia/chartrepo
- https://github.com/authelia/authelia - https://github.com/authelia/authelia
type: application type: application
version: 15.1.29 version: 15.1.30
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- security - security
@@ -30,9 +30,8 @@ LLDAP is a `Stable` train chart and therefore isn't supported at the same level
### App Configuration ### App Configuration
Domain: `mydomain.com` <- Your domain without https:// - Domain: `mydomain.com` <- Your domain without https://
Default Redirection URL: `auth.mydomain.com` - Default Redirection URL: `https://auth.mydomain.com` <- Can be anything, but we'll stick to auth.mydomain.com. As well, this will be the ingress URL for `Authelia`
- Can be anything, but we'll stick to auth.mydomain.com. As well, this will be the ingress URL for `Authelia`
### LDAP Backend Configuration ### LDAP Backend Configuration
@@ -0,0 +1,23 @@
# Input Validation
**`Default Redirection URL`**
Accepts:
- `https://`
- DNS host
- Characters (`0-9`, `a-z`, `A-Z`, `-`, `.`)
Accepted formats are:
- `https://dnshost`
- `https://DNSHOST`
- `https://DNS-HOST`
- `https://dns-host`
Regex used to match this: `^https?:\/\/(.*)`
You can try live [here](https://regex101.com/r/zFt9zy/1)
---
_If you find a field that you think it needs validation, please open an issue on github_
@@ -28,6 +28,7 @@ questions:
schema: schema:
type: string type: string
default: "" default: ""
valid_chars: '^https?:\/\/(.*)'
- variable: theme - variable: theme
group: "App Configuration" group: "App Configuration"
label: "Theme" label: "Theme"