Joe Stump
Joe Stump
If you point me in the right direction, I'll take a look at submitting a PR.
@bonddim I gave that a shot, but it's not working (I'm deleting the user in between sign ins; should be fresh `is_admin` on each login). ```yaml auth: callback_url_prefix: https:///api/v0 oidc:...
Gave it a shot with `oauth` and it leads to a 404 when I click the login button: `https:///api/v0/api/v0/authentik-oauth/init`. When I correct the double URI issue, it still 404s.
@bonddim if I'm following the code correctly, that would result in `true` being used for the field mapping? [`getOauthFieldMapping`](https://github.com/h44z/wg-portal/blob/master/internal/app/auth/auth_oauth.go#L144-L146) would set `true` as the key for looking up in [`ParseUserInfo`](https://github.com/h44z/wg-portal/blob/master/internal/app/auth/auth_oidc.go#L95)?...
@Bnyro it's not currently possible to mutate URLs beyond _just_ the hostname with the Hostnames plugin. Hostnames only allows you to replace the hostname of the `parsed_url`. It also doesn't...
@Bnyro I can do that. Went this route per @return42's guidance in the linked discussion. I'll take a look at refactoring.
This would, I suspect, necessitate a refactor of the `settings.yml` for that plugin. Are the maintainers comfortable with PRs that break backwards compatibility? Or should I introduce a new "mode"...
This looks like a promising approach: https://github.com/yt-dlp/yt-dlp/issues/6861#issuecomment-1513864167 Gave it a shot and it does download the image alongside the video. I think all that would be needed to fix the...