Frédéric Guillot
699deea72c
feat(oidc): use preferred_username
first instead of email
claim
2025-06-08 18:05:47 -07:00
Tali Auster
b3d385861f
fix: log warning on an empty client secret
...
Because Miniflux runs as a confidential service, a missing client secret
is a mistake in configuration. An empty client secret appears to be
valid per RFC 6749 (and is in fact the default set by Miniflux!), so we
log a warning.
2025-03-27 20:00:09 -07:00
Julien Voisin
89620a7dd2
refactor(oauth2): no need to use io.WriteString
when sha256 provides a way to obtain a sum in a single call
2024-12-26 10:39:55 -08:00
Frédéric Guillot
c0e954f19d
Implement structured logging using log/slog package
2023-09-24 22:37:33 -07:00
Frédéric Guillot
fbce915d84
Add profile scope to OIDC integration to support accounts without email
2023-09-08 20:26:42 -07:00
Frédéric Guillot
ab0c4ec0f5
Prevent empty username when using the OIDC integration
2023-09-08 19:03:44 -07:00
Frédéric Guillot
ff5d391701
Add OAuth2 PKCE support
2023-09-02 22:11:47 -07:00
Frédéric Guillot
168a870c02
Move internal packages to an internal folder
...
For reference: https://go.dev/doc/go1.4#internalpackages
2023-08-10 20:29:34 -07:00