mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-07 20:38:46 -05:00
Closed
opened 2026-04-20 16:16:08 -05:00 by GiteaMirror
·
18 comments
No Branch/Tag Specified
main
claude/analyze-beans-project-9VxoS
renovate/dev-dependencies
feat-huma-api-v2-migration
feat-v2-foundation
spike-huma-openapi3
claude/investigate-swagger3-support-nyyUa
feat-list-view-buckets
ci-mysql-8-test
codex/analyze-codebase-for-email-task-feature
feat-project-templates
csv-import-feature
claude/email-reply-comments-wpdcQ
fix-oidc-pkce-support
fix/overview-subtasks-expand
feat/bucket-select-task-detail
feat-soft-delete-projects
claude/review-bot-design-plan-cf5C3
claude/project-scoped-api-tokens-KTqR3
claude/explore-openclaw-integration-KQEzg
claude/project-scoped-api-tokens-yv5KS
fix-duplicate-close-button
feat-list-view-sorting
feat/official-vite-sentry-plugin
feat/highlight-overdue-tasks
feat/add-enter-key-form-submission-handling
feat/TipTap-nits
feat/update-caldavtimetotimestamp-parsing
feat-phosphor-icons
wip-plans
claude/investigate-issue-2173-llKme
fix-description-text-drag
feat-custom-keyboard-shortcuts
pr-1845-ci
codex/fix-drag-and-drop-behavior-inconsistency
copilot/add-clickable-labels-for-filtering
copilot/fix-issue-1786
playwright-migration
fix-kanban-repeating-wip
copilot/fix-1498
feature/replace-axios
codex/upgrade-to-tailwind-4.1.8-using-pnpm
codex/add-cypress-test-for-avatar-types
feature/biome
feature/oxc
codex/update-flexsearch-to-0.8.205
4r6ni9-codex/fix-deprecated-sass-@import-usage
codex/fix-deprecated-sass-@import-usage
codex/add-cypress-test-for-task-list-refresh-fix
codex/fix-quick-add-magic-not-adding-tasks
codex/fix-all-type-errors
codex/fix-mimetype-for-docs.json
feature/caldav-from-scratch
feature/gh-actions-hetzner
fix-ci
feat/new-logger
jyte-better-dev-config
feat/add-team-member-with-enter
fix/button-and-icon-types
fix/notifications-component-name-collision
feature/null-time
renovate/tailwindcss-4.x
feature/unplugin-vue-router
fix/deprecated-import
feature/zod-schema
renovate/golangci-golangci-lint-1.x
fix/tiptap-editor-reactive-destructuring
release/0.24
feat/improve-add-task
fix/saved-filter-search
feat/webp-and-avif-attachment-previews
feature/migrate-back-to-bulma
fix/sass-add-missing-list-import
feature/sticky-demo-bar
fix/gantt-view-switch
feature/typesense-position-join
feature/focus-visible
dependencies/golangci-lint
feature/better-filter-syntax
fix/tiptap-task-list
renovate/github.com-golang-jwt-jwt-v4-5.x
feature/hide-forbidden-related-tasks
renovate/golang-1.x
release/0.20
release/0.17
release/0.16
release/0.15
release/0.14
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.0
v1.1.0
v1.0.0
v1.0.0-rc4
v1.0.0-rc3
v1.0.0-rc2
v1.0.0-rc1
v1.0.0-rc0
v0.24.6
v0.24.5
v0.24.4
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.0
v0.22.1
v0.22.0
0.21.0
v0.21.0
v0.20.4
v0.20.5
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.2
v0.19.1
v0.19.0
vue3
v0.18.1
v0.18.0
v0.17.1
v0.17.0
v0.16.1
v0.16.0
v0.15.1
v0.15.0
v0.14.1
v0.14.0
v0.13.1
v0.13
v0.12
v0.11
v0.10
v0.9
v0.8
v0.7
v0.6
v0.5
v0.4
v0.3
v0.2
v0.1
Labels
Clear labels
area/api
area/attachments
area/auth
area/avatars
area/backup-restore
area/caldav
area/calendar-view
area/comments
area/config
area/database
area/desktop
area/docker
area/email
area/favorites
area/filters
area/frontend
area/gantt
area/i18n
area/import-export
area/internal-code
area/kanban
area/labels
area/list-view
area/mobile
area/notifications
area/permissions
area/projects
area/pwa
area/recurring-tasks
area/reminders
area/search
area/shortcuts
area/subtasks
area/sync
area/table-view
area/task-editor
area/task-metadata
area/task-relations
area/teams
area/theming
area/time-tracking
area/typesense
area/views
area/webhooks
bug
changes requested
concern/accessibility
concern/performance
concern/regression
concern/ux
confirmed
db/mysql
dependencies
enhancement
good first issue
help wanted
integration/inbound
integration/outbound
kind/bug
kind/feature
needs reproduction
pull-request
question
security
support
upstream issue
waiting for reply
wontfix
Mirrored from GitHub Pull Request
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/vikunja#5868
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RichyHBM on GitHub (Aug 4, 2022).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/39
Hello, I've been banging my head trying to figure out why this isn't working but I have setup vikunja and authelia, both behind a traefik reverse proxy.
When I navigate to vikunja I see the "login with authelia" button, which then takes me to authelia to grant access, but upon returning me to vikunja I get a
Could not authenticate against third party.In the logs for authelia I can see the following error:
Enabling debug logs in traefik I came across these logs which look suspicious:
In particular the 2
redirect_uriparameters:The second (which I think is redirected within authelia) seems to be url encoded, could it be that when first making the request the url should be url encoded?
@kolaente commented on GitHub (Aug 5, 2022):
That looks odd. Can you share your openid config for Vikunja? Anything in Vikunja a logs?
@RichyHBM commented on GitHub (Aug 5, 2022):
Sure, openID config:
Logs, can see this error:
@kolaente commented on GitHub (Aug 5, 2022):
And the config in Vikunja?
@RichyHBM commented on GitHub (Aug 5, 2022):
My vikunja api is at: https://vikunja-api.example.com
@kolaente commented on GitHub (Aug 8, 2022):
As far as I can tell the config looks fine. I'll try to set everything up and try to debug this properly but that'll take a while.
Cross-posting a related forum thread: https://community.vikunja.io/t/setting-up-sso-error-while-getting-openid-provider-not-found/625
@philosowaffle commented on GitHub (Aug 8, 2022):
Following up on request from forum post for more data from the Network tab.
Frontend Version: 0.19.0
API Version: v0.19.0
Vikunja OpenId Config:
Authelia Config
Network trace from Browser
Traefik logs:
Vikunja logs:
Authelia logs:
@cbusoft commented on GitHub (Aug 8, 2022):
I think the redirecturl under the openid section in your vikunja config is wrong.
instead of:
it should probably be:
I faced the same problem with keycloak, but in my keycloak logs I saw that 2 requests were made. The underlying oauth2 library makes the first request with basic authorization for the client credentials, and if an error occurs it tries again with the client credentials in the body of the request. source code
In my case the first request got rejected by keycloak because I did not set the redirecturl but did not remove the line:
This caused the
redirect_uriparam in the token request from the api to be<frontend url>nameofmyprovider.This got rejected because the redirect_uri should be the same as in the token request (oidc spec) which would be
https://{frontend-url}/auth/openid/{nameofmyprovider}The oauth2 library tried again with the client credentials in the body instead of the authorization header, which got rejected by keycloak because the code was used in the previous request and is therefore no longer considered valid. oidc spec
Problem with this was, that the api got the error invalid_code, when the real error was sent with the previous request.
Vikunja log
Hope that this helps.
@philosowaffle commented on GitHub (Aug 8, 2022):
In my case, I have already provided the correct
redirecturlin my config:edit: updated my original comment so its more complete with this information
@philosowaffle commented on GitHub (Aug 8, 2022):
Got it working! And I feel silly, this was a case of a missing
/. Full working config below:Vikunja Config
Authelia Config
So I guess I have a follow up issue. My OIDC username is different than the username I initially created on Vikunja. Not a huge deal, I'll just export from UserA, delete that account, then import to the OIDC user. But it seems that you have to have an email provider configured to do an export :(
Is there any other way to quickly export the namespaces/lists?
@kolaente commented on GitHub (Aug 9, 2022):
@cbusoft Vikunja will only use the
service.frontendurlif you didn't configure the redirect url at all. In your case the redirect url was the literal string<frontend url>(as you already figured out).@philosowaffle Great you got it working! I'll add something to the docs to make this more clear.
Right now the only other way to export data would be with a Vikunja dump but that will export everything from all users. A quick and dirty way to solve this might be to use mailhog as a temporary mail server.
@fresh2dev commented on GitHub (Aug 15, 2022):
I was able to make this work. However, I noticed that if I clicked 'Logout', I had no way of logging back in. 🤷
@kolaente commented on GitHub (Aug 15, 2022):
@fresh2dev You mean it didn't log you back in? Any error message? Whats in the logs?
@fresh2dev commented on GitHub (Aug 15, 2022):
Correct, it did not log me back in. I just started tinkering with this again (since the latest update). No errors in the front-end. I have local-auth disabled, and OIDC enabled with Authelia. If I manually 'Logout', I land at the 'Login' screen, with no way to enter credentials. I manually log out of Authelia, expecting to re-authenticate, but Vikunja remains at the 'Login' screen with no way in. Just replicated this on both my Chrome browser and Safari on iOS.
@kolaente commented on GitHub (Aug 15, 2022):
Can you share a screenshot? There should be a button which would take you to Authentik.
@fresh2dev commented on GitHub (Aug 15, 2022):
This is when configured, as prescribed, for Authelia.
@fresh2dev commented on GitHub (Aug 15, 2022):
LMK if you'd like me to file a new issue for this.
@kolaente commented on GitHub (Aug 16, 2022):
Whats the output of a request to
/api/v1/infoon your vikunja instance?Anything in the logs? Maybe there is a relevant message when you restart the service and make the request to
/api/v1/infoagain.@fresh2dev commented on GitHub (Aug 23, 2022):
This was my mistake. I searched the logs to find:
Once I removed the trailing slash, everything works as expected.