Ralf Haferkamp
78703806e4
feat(webfinger): add fallbacks for CLIENT_ID and SCOPE setting
...
This adds the variables 'OC_OIDC_CLIENT_ID' and
'OC_OIDC_CLIENT_SCOPES' as fallbacks for the platform specific settings.
For backwards compatibility with the "old" settings for the 'web'
service we also allow 'WEB_OIDC_CLIENT_ID' and 'WEB_OIDC_SCOPE' for the
"web" platform.
2026-02-17 10:41:35 +01:00
Ralf Haferkamp
4f1aca6d90
feat(webfinger): use webfinger properties instead new relations
...
This works the previous commits so that clients can add an addtional
'platform' query parameter to the webfinger request that can be used
to query the oidc client id and list of scopes that the clients need
to use when connecting to the IDP.
This also removes the non-standard issuer relatation introduced in a
previous commit as we can just introduce new relations in the
http://openid.net name space.
For IDP like Authentik that create a separate issuer url per Client
(Application in Authentik's terms) it is suggested to just configure
as single Client and use that id for all platforms (i.e. setting
'WEBFINGER_ANDROID_OIDC_CLIENT_ID', 'WEBFINGER_DESKTOP_OIDC_CLIENT_ID',
'WEBFINGER_IOS_OIDC_CLIENT_ID' and 'WEBFINGER_WEB_OIDC_CLIENT_ID' to
same value.
Related: #2088
Related: https://github.com/opencloud-eu/desktop/issues/246
2026-02-17 10:41:35 +01:00
Ralf Haferkamp
24aaeb46ba
chore(webfinger): Simplify weird Query parameter extraction loop
2026-02-17 10:41:35 +01:00
pat-s
daeae1f443
feat(webfinger): support desktop and mobile specific OIDC client_id
2026-02-17 10:41:35 +01:00
pat-s
84da592c88
feat(webfinger): add desktop-specific OIDC issuer support
2026-02-17 10:41:35 +01:00
Jörn Friedrich Dreyer
87ef2d97fa
Clarify what the two requests are used for ( #2179 )
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-01-19 21:38:20 +01:00
Christian Richter
25952fc27c
consolidate log config in webfinger
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 13:48:15 +01:00
Florian Schade
151ccb1609
fix: remove unsupported service binary entrypoints
2025-12-23 12:23:41 +01:00
Christian Richter
0372869b8b
refactor remaining code from urfave/cli
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:27 +01:00
Christian Richter
7be33b0607
refactor interims DefaultAppCobra to DefaultApp
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
1e38489460
migrate webfinger from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Jörn Friedrich Dreyer
a3ef7f6d79
update otlp tracing
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-27 12:28:15 +01:00
Roman Perekhod
c597dfb917
set default timeouts and clean up
2025-09-12 12:18:47 +02:00
Roman Perekhod
9a3fc08dd4
to separate controll ower the http and grpc driven services
2025-09-12 12:18:47 +02:00
Juan Pablo Villafáñez
9e1b80a1be
feat: use runners to startup the services
2025-09-12 12:18:47 +02:00
Ralf Haferkamp
96684df32d
Adjust to new tablewriter release
2025-05-19 19:26:38 +02:00
Ralf Haferkamp
24da3687d9
Makefile: remove unneeded recursion.mk
...
The MAKE_DEPTH variable is not used anywhere anymore.
2025-04-22 16:57:17 +02:00
Ralf Haferkamp
48edc9a5d1
Reintroduce check for go before including bingo Makefile
...
This re-adds the check for go being installed before including the
bingo variables make file to avoid repeating errors about missing a
missing go binary when running 'make node-generate' in the ci (the node
container doesn't have go installed)
2025-03-11 11:19:20 +01:00
Florian Schade
dbafbaa333
fix: remove deprecations and use go-generate instead of go-generate-STAGE
2025-03-06 11:56:09 +01:00
Florian Schade
da1963cfa4
enhancement: split make ci-node-generate and ci-go-generate into prod and dev stages
2025-03-05 17:32:37 +01:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Klaas Freitag
669ad7c769
Rename demo users
...
See https://github.com/opencloud-eu/internal/issues/42
2025-01-28 18:03:12 +01:00
Jörn Friedrich Dreyer
5baf3cd4eb
webfinger
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-17 10:08:49 +01:00
Ralf Haferkamp
3cb3a420d6
Remove unneeded reflex.conf files
2025-01-16 16:08:46 +01:00
Jörn Friedrich Dreyer
db39b8ed3b
use opencloudurl
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 11:13:08 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer
318ca21645
metrics, log and supervisor
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 16:09:54 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
a46fd132bd
use OC_ env prefix
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:11:11 +01:00
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Jörn Friedrich Dreyer
dde999d5c2
align shutdown logging
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Christian Richter
26bf70a5b1
remove random default ports
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-23 11:12:20 +02:00
Michael Barz
35578a0ecc
chore: remove unneeded stuff
2024-10-21 22:46:06 +02:00
Florian Schade
66ff86bd35
enhancement: simplify ready and health check handler usage
2024-10-16 20:26:00 +02:00
Christian Richter
e1fb51ea9d
add http checks to webfinger
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-15 14:28:54 +02:00
Christian Richter
0094d30378
code cleanup & refactoring
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-14 08:39:42 +02:00
Florian Schade
0671039474
enhancement: add readyz and healthz check handler
2024-10-14 08:39:42 +02:00
Florian Schade
c82a7c560e
enhancement: use global ready and health handlers
2024-10-14 08:39:42 +02:00
Jörn Friedrich Dreyer
066c4b8173
only register signal handling once
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-29 16:28:13 +02:00
Jörn Friedrich Dreyer
7999e2969b
do not force exit to let all services shutdown gracefully
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:52 +02:00
Jörn Friedrich Dreyer
9d1515e8fc
rely on context from app
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer
008f379a01
pass config context when running apps
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:30:42 +02:00
Jörn Friedrich Dreyer
7a22dfb6de
NotifyContext when running services standalone
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:26:58 +02:00
Thomas Müller
a8cbc612cc
chore: remove unused return value from BindSourcesToStructs ( #9033 )
2024-04-30 18:18:31 +02:00
Jörn Friedrich Dreyer
32e44a9fdc
Merge pull request #8989 from owncloud/log-and-trace-fixes
...
log and trace fixes
2024-04-29 17:13:52 +02:00
Jörn Friedrich Dreyer
e41472234f
log and trace fixes
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-04-26 17:03:49 +02:00
Thomas Müller
ac951eaaae
chore: code cleanup service/webfinger
2024-04-26 11:11:10 +02:00
Thomas Müller
bdbba929d0
feat: add CSP and other security related headers in the oCIS proxy service ( #8777 )
...
* feat: add CSP and other security related headers in the oCIS proxy service
* fix: consolidate security related headers - drop middleware.Secure
* fix: use github.com/DeepDiver1975/secure
* fix: acceptance tests
* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Thomas Müller
07f0cd5574
fix: typos, naming clashes, error messages and deprecations
2024-04-03 15:34:36 +02:00