Crates.io | garage-door |
lib.rs | garage-door |
version | 0.1.0 |
source | src |
created_at | 2024-05-17 14:05:24.420445 |
updated_at | 2024-06-05 13:03:11.995469 |
description | A simple OIDC provider, for demo purposes |
homepage | |
repository | https://github.com/ctron/garage-door |
max_upload_size | |
id | 1243271 |
size | 140,736 |
A simple OIDC provider, for demo purposes!
OpenID Connect (OIDC) is great, but complicated. There are great solutions out there allowing one to set up an OIDC provider (server). However, sometimes all of those solutions are pure overkill. All that one would need is a simple single username/password setup, just a config file, no database, no customizations, no cloud stuff.
That's the itch, this project tries to be the scratch.
Goals:
Stretch goals:
Non-goals:
This is insecure! But it does allow you to go through some basic authentication flows for public and confidential clients.
Again, this is insecure! It doesn't even check a password! It doesn't encrypt tokens either. It ignores all kinds of things that it should not ignore.
However, it allows using it for some cases where a full-blown setup would be required to set up, although it isn't really required when using it (demo purposes!)
Also see: ToDo
Set up something like Keycloak. It's secure. It's tested. However, I will require a lot more resources. If you want something secure, that's what is required.
There's an existing project: oxide-auth
. I think it's worth checking
out! It actually is the basis for this project.
However, the downside is that it considers itself a toolbox for implementing an OAuth2 providers. Which sounds great, but also brings quite a lot of complexities due to its goal to be agnostic to all kinds of dependencies. And some of the important parts (especially for OIDC) are bring-your-own.