Flomp / wanderer

wanderer is a self-hosted trail database. Save your adventures!
GNU Affero General Public License v3.0
1.31k stars 31 forks source link

External auth with OIDC/Oauth2? #24

Closed poVoq closed 7 months ago

poVoq commented 8 months ago

Would be nice if it were possible to configure an easy to use login provider via Oauth2/OIDC.

That way it would be for example easy to integrate accounts with a Mastodon instance or similar.

Pocket base seems to have support for this: https://pocketbase.io/docs/authentication#oauth2-integration

Thanks for considering this.

Flomp commented 7 months ago

I agree, it would be rather simple I think. However, I would like wanderer to stay unopinionated about which OAuth providers it supports as users preferences surely vary. I will need to think about how to make the different providers configurable in the frontend through environment variables (?) or another way of configuration.

Flomp commented 7 months ago

Added in v0.3.0. Please refer to the docs for more info.

poVoq commented 7 months ago

Looks excellent. Thanks for adding this. I think we can close this issue then.