Official Vikunja import
Go to file
Weijie Zhao 00c4148f05
feat(auth): add ForceUserInfo option to OpenID provider (#797)
Problem:

When using Casdoor as an OpenID provider, there's an inconsistency between the user information in the JWT token and the UserInfo endpoint. The token contains the user's unique ID in the `name` field, while the UserInfo endpoint correctly returns the user's display name.

Solution:

This PR adds a new `ForceUserInfo` option to the OpenID provider configuration. When enabled, it forces the use of the UserInfo endpoint to retrieve user information instead of relying on claims from the ID token.

Impact:

- Default behavior remains unchanged (backward compatible)
- New option allows administrators to force using UserInfo endpoint data
- Particularly useful for providers like Casdoor that don't fully comply with OIDC standards

Related:

I've opened an issue in the Casdoor repository (https://github.com/casdoor/casdoor/issues/3806) to discuss the root cause. However, changing Casdoor's token structure might cause significant compatibility issues for existing integrations, so it's unclear if this can be fixed at the provider level. This PR provides a workaround in Vikunja that doesn't affect existing functionality.
2025-05-20 08:06:34 +00:00
.github chore(deps): update useblacksmith/build-push-action digest to e09a088 (#792) 2025-05-19 09:54:54 +02:00
.vscode fix(auth): only use query parameters instead of local storage for password reset token (#770) 2025-05-14 20:51:45 +00:00
build Add systemd service file to linux packages 2021-03-28 18:18:58 +02:00
contrib fix(ci): correctly update translations from crowdin 2025-03-30 17:17:27 +02:00
desktop chore(deps): update dev-dependencies (#785) 2025-05-16 10:36:40 +02:00
frontend fix(test): wait for redirect 2025-05-20 09:55:12 +02:00
pkg feat(auth): add ForceUserInfo option to OpenID provider (#797) 2025-05-20 08:06:34 +00:00
rest feat(notifications): add endpoint to mark all notifications as read 2023-10-20 16:40:47 +02:00
.dockerignore chore(docker): add more files and folders to dockerignore 2025-03-21 18:47:18 +01:00
.editorconfig Add default list setting (#875) 2021-06-02 21:20:22 +00:00
.envrc feat: switch from nix flakes to devenv 2024-08-12 12:17:31 +02:00
.gitignore chore(devenv): do not install cypress on darwin 2024-09-18 14:30:38 +02:00
.golangci.yml chore(deps): update golangci/golangci-lint-action action to v7 (#462) 2025-04-02 09:28:56 +02:00
CHANGELOG.md chore: release preparation 2024-12-22 19:56:03 +01:00
CONTRIBUTING.md chore: update contributing guidelines 2023-10-10 17:48:10 +02:00
Dockerfile chore(deps): update node.js to 152270c (#784) 2025-05-16 19:26:12 +00:00
LICENSE Change license to AGPLv3 2020-12-23 16:41:52 +01:00
README.md chore: release preparation 2024-12-22 19:56:03 +01:00
cliff.toml fix: add \n between scoped and unscoped commits in git cliff config 2024-11-08 11:19:50 +01:00
code-header-template.txt chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
config-raw.json feat(auth): add ForceUserInfo option to OpenID provider (#797) 2025-05-20 08:06:34 +00:00
crowdin.yml feat: use GitHub actions for build and release 2025-03-26 16:23:38 +01:00
devenv.lock chore(deps): update devenv 2025-02-27 17:10:15 +01:00
devenv.nix feat: use GitHub actions for build and release 2025-03-26 16:23:38 +01:00
devenv.yaml feat: switch from nix flakes to devenv 2024-08-12 12:17:31 +02:00
go.mod fix(deps): update module github.com/yuin/goldmark to v1.7.12 (#795) 2025-05-19 09:54:24 +02:00
go.sum fix(deps): update module github.com/yuin/goldmark to v1.7.12 (#795) 2025-05-19 09:54:24 +02:00
magefile.go fix(build): prepare xgo once during release 2025-05-13 16:37:02 +02:00
main.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
nfpm.yaml Add systemd service file to linux packages 2021-03-28 18:18:58 +02:00
publiccode.yml docs: update publiccode.yml [skip ci] 2024-02-25 14:06:23 +01:00
renovate.json chore(renovate): update github actions only once a month 2025-05-14 21:45:58 +02:00
tools.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
tsconfig.json feat: add root tsconfig 2024-06-19 14:05:41 +00:00
vikunja.service Add systemd service file to linux packages 2021-03-28 18:18:58 +02:00

README.md

Build Status License: AGPL v3 Install Docker Pulls Swagger Docs Go Report Card

Vikunja

The Todo-app to organize your life.

If Vikunja is useful to you, please consider buying me a coffee, sponsoring me on GitHub or buying a sticker pack. I'm also offering a hosted version of Vikunja if you want a hassle-free solution for yourself or your team.

Table of contents

Security Reports

If you find any security-related issues you don't want to disclose publicly, please use the contact information on our website.

Features

See the features page on our website for a more exhaustive list or try it on try.vikunja.io!

Docs

All docs can be found on the Vikunja home page.

Roadmap

See the roadmap (hosted on Vikunja!) for more!

Contributing

Please check out the contribuition guidelines on the website.

License

This project is licensed under the AGPLv3 License. See the LICENSE file for the full license text.