8000 Allow configuring the logout page by philippjfr · Pull Request #5514 · holoviz/panel · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@philippjfr
Copy link
Member

Instead of immediately directing a user back to the login page this PR ensures that the /logout endpoint serves a page that confirms logging out and allows the user to click a button to log back in. It also makes this template configurable and adds documentation.

Additionally this PR fixes some issues with redirects, particularly when a prefix is provided.

Fixes #5492

@codecov
Copy link
codecov bot commented Sep 15, 2023

Codecov Report

Merging #5514 (0a36506) into main (4496012) will increase coverage by 11.10%.
The diff coverage is 89.13%.

@@             Coverage Diff             @@
##             main    #5514       +/-   ##
===========================================
+ Coverage   72.50%   83.61%   +11.10%     
===========================================
  Files         276      276               
  Lines       40199    40233       +34     
===========================================
+ Hits        29147    33641     +4494     
+ Misses      11052     6592     -4460     
Flag Coverage Δ
ui-tests 41.46% <89.13%> (?)
unitexamples-tests 72.46% <17.39%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
panel/io/server.py 75.41% <0.00%> (+9.46%) ⬆️
panel/command/serve.py 40.22% <75.00%> (+24.63%) ⬆️
panel/auth.py 47.02% <85.71%> (+10.64%) ⬆️
panel/io/resources.py 87.28% <100.00%> (+0.02%) ⬆️
8000 panel/tests/ui/test_auth.py 100.00% <100.00%> (+61.53%) ⬆️

... and 66 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@philippjfr philippjfr merged commit a640d70 into main Sep 15, 2023
@philippjfr philippjfr deleted the logout_fixes branch September 15, 2023 12:00
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OAuth login includes prefix twice in the login url

2 participants

0