FlowFuse / FlowFuse/flowfuse

Login redirects to `/account/complete/_xxxx` with raw JSON error

Open
#4,945 0 comments 0 reactions 0 assignees View on GitHub
needs-triage type:bug
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 21h
Merged PRs (30d)
146

Description

### Current Behavior

After a period of not logging in to FF, I am redirected to `/account/complete/_xxxx` and shown an error in raw JSON:

![image](https://github.com/user-attachments/assets/423f27d9-9b33-4813-9a07-da7b66b50310)

### Expected Behavior

Should log in so long as user name/password (SSO) was correct, otherwise redirect accordingly.

### Steps To Reproduce

not sure how to reproduce (I tried editing various parts of cookies, storage to mimic it) but for my 3 encounters, it was always upon login after 8 days of not logging in to FFC

### Environment

- FlowFuse version: FFC current (2.11.0 as of writing)
- Node.js version:
- npm version:
- Platform/OS: Win 11
- Browser: Chrome latest

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

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.