Comments (5)
I see there was a problem on my part. A typo in the allowed authentication redirect url...
This should already be the case, but sometimes the names are not exposed correctly. I'm sure it works with gitlab as that's what I tested it with but I'm not sure about other providers. The usernames have to be unique across all providers so if you already have a user from another source with the same username it will fallback to generating a random one.
And that would clarify why I'm getting randomized usernames when trying to login using Authentik; I'm using the same prefered username as what I already have configured in Vikunja's local users. Oops 🥲
I'll use your suggestion to migrate my data from one account to the other. Thanks!
from vikunja.
What version are you using? Can you reproduce this with the latest unstable?
from vikunja.
Wow, great response time!!
I'm currently on Vikunja api version v0.18.1
. Not sure how to find the docker image version though.
I'll quickly try to pull unstable and get back to you after I try to reproduce it.
from vikunja.
Yes, on the unstable
version, I can now delete these users from commandline.
However, when trying to login now using Authentik, as I used to before, I now get an error page:
Redirect URI Error
The request fails due to a missing, invalid, or mismatching redirection URI (redirect_uri).
Related to this: Can vikunja be made to grab e.g. the preferred_username
, name
, nickname
, or anything similar from the open-id scopes instead of creating a random username?
And would it be possible to migrate all data from an existing local user to a user created by logging in using openid?
from vikunja.
However, when trying to login now using Authentik, as I used to before, I now get an error page:
Did you upgrade to the unstable frontend as well?
Related to this: Can vikunja be made to grab e.g. the preferred_username, name, nickname, or anything similar from the open-id scopes instead of creating a random username?
This should already be the case, but sometimes the names are not exposed correctly. I'm sure it works with gitlab as that's what I tested it with but I'm not sure about other providers. The usernames have to be unique across all providers so if you already have a user from another source with the same username it will fallback to generating a random one.
And would it be possible to migrate all data from an existing local user to a user created by logging in using openid?
You could, but there's no real supported migration path or similar. You would need to manually delete the local user in the DB (not with the cli command because that would remove all user data as well) and then change the id of the other user to the one of the deleted local user. Make a backup before trying this.
from vikunja.
Related Issues (20)
- CalDAV not working properly with iOS #753 HOT 1
- Frontend hangs when opening a task (process crash/eternal loop) HOT 12
- After deleting the done bucket, no task in the project can be done HOT 3
- Integration microsoft to do list import function does not import HOT 17
- No ipv4 listening on new install HOT 1
- Unable to setup OpenID login HOT 33
- permissions vikunja.db HOT 4
- Opera Mobile OIDC Login not possible HOT 8
- Upcoming "Today" not showing expected tasks HOT 1
- Problems with single-container version: 502, Migration failed, no live upstreams HOT 1
- cannot scroll sidebar to switch to different list items HOT 2
- Line breaks not working in task description HOT 2
- Date picker current date incorrect if page was not refreshed in browser today HOT 3
- 403 Forbidden when adding Label in Share Link HOT 4
- Dark mode - Low contrast for table headers within tasks HOT 1
- Todoist migration: Buckets HOT 3
- Saved filters are not updated when tasks are updated HOT 4
- sticky openid login / Authentik OpenID misconfiguration HOT 4
- Switching back from :unstable tag to :latest tag breaks website HOT 3
- Kanban board width too small in share link HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vikunja.