goauthentik / goauthentik/authentik

Authentik page doesn't render on Android 11.0 API 30

Open
#16,856 9 comments 0 reactions 0 assignees View on GitHub
bug bug/confirmed
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
651

Description

**Describe the bug**
Main page of authentik doesn't load on some Android devices due to invalid JS files.

**To Reproduce**
Steps to reproduce the behavior:

1. Create Android emulator for Android 11.0 API 30 x86_64 with Google Play Store
2. Navigate to main authentik page
3. Only white screen is rendered due to JS problems
4. See error on developer tools console

Providing `sfe` param fixes issue, but it cannot be injected in OIDC client library, which breaks auth process on some mobile devices.

I assume that if simplified flow executor code would be adjusted to detect older Android version, it would fix the problem. I'm not sure though, on which Android/WebView version it starts to break.

**Expected behavior**
Main page and all other pages should load properly

**Screenshots**
Default behavior - no `sfe` param:

Image

Image

With `sfe` param:

Image

**Version and Deployment:**

- authentik version: 2025.6.3
- Deployment: docker-compose

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with an Android 11.0 API 30 x86_64 emulator using Google Play Store and inspect the developer-tools console for the invalid JavaScript errors. Compare the default flow with the working `sfe` parameter behavior; done means the main and other pages load without requiring `sfe`, including through the OIDC client library.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.