Keycloak iOS redirect URI — westside-spa client #165
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Infra
Lineage
project-capacitor-mobile→ Board item (westside first consumer)Repo
forgejo_admin/pal-e-platformUser Story
As an iOS app user
I want Keycloak to accept auth redirects from the Capacitor native shell
So that I can sign in to the westside app on my iPhone
Context
Capacitor iOS apps use
capacitor://localhostas their origin. The Keycloak clientwestside-spaneeds this added to Valid Redirect URIs and Web Origins. Without it, the OIDC PKCE flow will fail on iOS with a redirect_uri mismatch.Phase 15 scope notes mention this was already planned. Verify current state before making changes.
File Targets
Files to modify:
westside-basketballrealm,westside-spaclientFiles NOT to touch:
Acceptance Criteria
westside-spaclient hascapacitor://localhost/*in Valid Redirect URIswestside-spaclient hascapacitor://localhostin Web Originshttp://localhost:5174/*remains in redirect URIs (dev)Test Expectations
Constraints
Checklist
Related
project-capacitor-mobile— auth architecture sectionAlready configured.
westside-spaclient ink3s.tfvars(pal-e-services) has:capacitor://localhost/*in valid_redirect_uriscapacitor://localhostin web_originshttp://localhost/*for local devNo work needed. Closing.