Commit b2bc1946 by PLN (Algolia)

admin: token sign-in is the login — Sveltia rejects implicit, GitLab can't PKCE-exchange

parent bd801a15
...@@ -9,13 +9,14 @@ backend: ...@@ -9,13 +9,14 @@ backend:
# (Sveltia does not infer them from the repo URL). # (Sveltia does not infer them from the repo URL).
base_url: https://git.nech.pl base_url: https://git.nech.pl
api_root: https://git.nech.pl/api/v4 api_root: https://git.nech.pl/api/v4
# Auth: this GitLab (12.x-era) accepts the PKCE authorize step but fails the # Auth: Sveltia accepts ONLY auth_type "" (default) or "pkce" — it rejects
# public-client token exchange ("failed to request an access token") — so we # implicit outright — and this 12.x-era GitLab cannot finish a PKCE
# ride the implicit grant instead. The OAuth app must have "Implicit grant" # public-client token exchange. Daily login therefore rides Sveltia's
# checked; "Confidential" stays unchecked. Token is short-lived (GitLab # "Sign In with Token" (pln-cms personal access token, api scope,
# default ~2h) — re-login expected; the Phase 1 auth sidecar replaces this # Developer on pln/www — project-confined). The Phase 1 `gate` sidecar
# with a confidential exchange + refresh. # (magic-link mail login, server-side confidential exchange) replaces this
auth_type: implicit # entirely. app_id kept for that future.
# auth_type intentionally omitted.
# Paste the OAuth application ID from git.nech.pl (Admin area -> Applications; # Paste the OAuth application ID from git.nech.pl (Admin area -> Applications;
# redirect URI https://me.nech.pl/admin/, "Confidential" unchecked, api scope). # redirect URI https://me.nech.pl/admin/, "Confidential" unchecked, api scope).
app_id: d8696dc65c5f2308ce16f3a0ddbcfb913915562917ad4647cfaa3ea843dee287 app_id: d8696dc65c5f2308ce16f3a0ddbcfb913915562917ad4647cfaa3ea843dee287
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment