I found oidc-agent on github, but no package for NixOS. Are there any alternatives? This seems like a great package.
I do not know an alternative to this. Looking at the code, which is C-Code mostly, I would try to create a derivation for this. The Nixpkgs manual explains this. Looking at the Makefile: I guess this would not be the easiest project to package for a beginner.