OpenID login fails after update to 0.21.0 when language unset #2057

Closed
opened 2023-07-12 21:00:54 +00:00 by fyfrey · 3 comments

Description

Using the web app fails after update to 0.21.0. The following error is shown after successful authentication via OpenID (Authelia):

An error occurred:
Error: Error while refreshing user info:

Please check if the api url is correct.

If I downgrade the frontend to 0.20.5, login is possible but functionality is limited because of the namespaces/project change.

I've checked the web and server logs; server log is clean. Browser console prints:

Error refreshing user info: Error: Unknown variable dynamic import: ./lang/<unset>.json

Request to /api/v1/user is successful and returns user info. User does not have language set. After setting a language with the old frontend, login to the new frontend version is possible again.

Vikunja Frontend Version

0.21.0

Vikunja API Version

0.21.0

Browser and version

latest stable Chrome + Firefox

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

image

### Description Using the web app fails after update to 0.21.0. The following error is shown after successful authentication via OpenID (Authelia): > An error occurred: > Error: Error while refreshing user info: > > Please check if the api url is correct. If I downgrade the frontend to 0.20.5, login is possible but functionality is limited because of the namespaces/project change. I've checked the web and server logs; server log is clean. Browser console prints: ``` Error refreshing user info: Error: Unknown variable dynamic import: ./lang/<unset>.json ``` Request to `/api/v1/user` is successful and returns user info. User does not have language set. After setting a language with the old frontend, login to the new frontend version is possible again. ### Vikunja Frontend Version 0.21.0 ### Vikunja API Version 0.21.0 ### Browser and version latest stable Chrome + Firefox ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots ![image](/attachments/6b6c0db1-4669-456e-80d5-7fa286b091f5)
fyfrey added the
kind/bug
label 2023-07-12 21:00:55 +00:00
Owner

This sounds like the issue reported here: https://community.vikunja.io/t/error-refreshing-user-info-on-new-install/1470

Does the solution proposed in the forum works for you?

This sounds like the issue reported here: https://community.vikunja.io/t/error-refreshing-user-info-on-new-install/1470 Does the solution proposed in the forum works for you?
Owner

User does not have language set.

What's set in the database for that user?

> User does not have language set. What's set in the database for that user?
Owner

Closing due to inactivity. Please ping with more information.

Closing due to inactivity. Please ping with more information.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#2057
No description provided.