# OpenID Connect Force Availability

**URL:** <https://community.vikunja.io/t/openid-connect-force-availability/3499>\
**Category:** Feature Discussion\
**Created:** [10 March 2025 02:12 UTC](https://community.vikunja.io/t/openid-connect-force-availability/3499 "2025-03-10T02:12:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xeruf](https://community.vikunja.io/letter_avatar_proxy/v4/letter/x/85e7bf/32.png) [@xeruf](https://community.vikunja.io/u/xeruf)\
**Post date:** [10 March 2025 02:12 UTC](https://community.vikunja.io/t/openid-connect-force-availability/3499/1 "2025-03-10T02:12:50Z")

</div>

We regularly have the issue that we find ourselves with an unusable instance of Vikunja on our Kubernetes cluster because somehow the OpenID Connect provider check of Vikunja fails as it starts.  
Whenever I notice that I have to kill the pod so it works after a restart, but somehow I always find the login button gone after a few days.  
Now I am starting to write an integration to query `/api/v1/info` for whether providers are detected and if not issue a kill - but that is a bit hacky.

I would prefer an flag on an openid provider like ‘force’ that does one of two things:

- always make it available, without checking its endpoint (does it require any extra information?)
- crashes when the openid provider query fails  
Either would allow graceful handling with native kubernetes tools.

Btw, issue search in gitea is not working properly: [Issues - vikunja - Gitea](https://kolaente.dev/vikunja/vikunja/issues?q=openid)

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [10 March 2025 09:49 UTC](https://community.vikunja.io/t/openid-connect-force-availability/3499/2 "2025-03-10T09:49:58Z")

</div>

> [@xeruf](#):
>
> always make it available, without checking its endpoint (does it require any extra information?)

This won’t work because we need to ask the provider a few things to be able to use it.

I would rather want to fix the disappearing of the provider. Vikunja won’t forget a provider it has discovered, unless you restart it and the provider is not reachable at that time. If that’s the case, there should be something logged though.

> [@xeruf](#):
>
> crashes when the openid provider query fails

This might be an option, but again, only when starting.

---

<div class="post-metadata">

**Author:** ![xeruf](https://community.vikunja.io/letter_avatar_proxy/v4/letter/x/85e7bf/32.png) [@xeruf](https://community.vikunja.io/u/xeruf)\
**Post date:** [12 March 2025 17:10 UTC](https://community.vikunja.io/t/openid-connect-force-availability/3499/3 "2025-03-12T17:10:19Z")

</div>

yeah allowing to set a flag that vikunja crashes if an OIDC provider is not found on startup would be perfectly okay - I am anyway unsure about the disappearing while running thing, maybe it also just happened to do another restart
