Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the backchannel logout event #9449

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

2403905
Copy link
Contributor

@2403905 2403905 commented Jun 24, 2024

Description

Added SSE-Event when logged out

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment: build an image and run ocis_keycloak
  • test case 1: Login as admin to ocis.owncloud.test, and open one more tab in a browser. Watching the sse in a browser console. After logout, the browser has get an event.
    The message format: type: backchannel-logout data:{"userid":"93277962-0054-47d5-9717-fed84f26b9e7","timestamp":"seconds:1718982662 nanos:826943110 "}

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@2403905 2403905 marked this pull request as ready for review June 24, 2024 08:47
@2403905 2403905 requested review from rhafer and kobergj June 24, 2024 08:48
services/clientlog/pkg/service/events.go Outdated Show resolved Hide resolved
services/clientlog/pkg/service/events.go Outdated Show resolved Hide resolved
services/proxy/pkg/staticroutes/backchannellogout.go Outdated Show resolved Hide resolved
services/proxy/pkg/staticroutes/backchannellogout.go Outdated Show resolved Hide resolved
services/proxy/pkg/staticroutes/backchannellogout.go Outdated Show resolved Hide resolved
@2403905 2403905 force-pushed the issue-9355 branch 2 times, most recently from 3d6f569 to f7e4027 Compare June 24, 2024 09:39
Copy link

sonarcloud bot commented Jun 25, 2024

@2403905 2403905 enabled auto-merge June 25, 2024 12:45
@2403905 2403905 merged commit dcd319a into owncloud:master Jun 25, 2024
3 checks passed
ownclouders pushed a commit that referenced this pull request Jun 26, 2024
Add the backchannel logout event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ocis] SSE-Event when logged out
3 participants