goauthentik / goauthentik/authentik
Authentik page doesn't render on Android 11.0 API 30
- 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:
With `sfe` param:
**Version and Deployment:**
- authentik version: 2025.6.3
- Deployment: docker-compose
Contributor 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