goauthentik / goauthentik/authentik

404 errors for Flows on compose/development environment

Open
#10,487 12 comments 1 reaction 1 assignee Claimed by @rissson 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**
I have set up a development environment of authentik as described in the docs (https://docs.goauthentik.io/developer-docs/setup/full-dev-environment). After pulling the `main` branch and following the instructions, I get various 404 errors:
- http://localhost:9000/if/flow/initial-setup/ shows: `Page not found (404) No Flow matches the given query.`
- http://localhost:9000/ redirects to http://localhost:9000/flows/-/default/authentication/?next=/ and also shows a 404 error:
```
Page not found (404)

Request Method: GET
Request URL: http://localhost:9000/flows/-/default/authentication/?next=/
raised by: authentik.flows.views.executor.ToDefaultFlow
```

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

1. Follow instructions on docs (https://docs.goauthentik.io/developer-docs/setup/full-dev-environment)

**Expected behavior**
The web interface should be shown correctly

**Logs**
[ak_server_output.txt](https://github.com/user-attachments/files/16202831/ak_server_output.txt)
[docker_compose_output.txt](https://github.com/user-attachments/files/16202877/docker_compose_output.txt)

**Version and Deployment:**

- authentik version: full dev environment based on main branch (commit 8f7fe8e)
- Deployment: none; local dev env

**Additional context**
I was able to run the set up the dev environment some time ago (version 2024.4). I have deleted and cloned the repository, deleted and rerun `docker compose` and have tried `make dev-reset`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.