8000 Add OAuth provider (Auth0) logout url to error template by dalthviz · Pull Request #8036 · holoviz/panel · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@dalthviz
Copy link
Contributor
@dalthviz dalthviz commented Jul 9, 2025

Hi, so this is an initial implementation following the first solution described at #8017 (comment). With the changes here you will be able to see a Logout link in the error page if you are using Auth0 as OAuth provider:

imagen

Notes:

From a quick check of the supported OAuth providers, I think the only one that also supports a logout URL is Okta: https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/tag/OrgAS/#tag/OrgAS/operation/logout, should support for it added here too? Not completely sure from where the value of id_token_hint could be retrieved but if worthy let me know and I will check.

Fixes #8017

@codecov
Copy link
codecov bot commented Jul 9, 2025

Codecov Report

Attention: Patch coverage is 61.76471% with 13 lines in your changes missing coverage. Please review.

Project coverage is 86.62%. Comparing base (a0b24b3) to head (ce981f8).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
panel/auth.py 61.76% 13 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8036       +/-   ##
===========================================
+ Coverage   71.18%   86.62%   +15.43%     
===========================================
  Files         345      346        +1     
  Lines       53492    53527       +35     
===========================================
+ Hits        38080    46366     +8286     
+ Misses      15412     7161     -8251     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@philippjfr
Copy link
Member

Much appreciated! Let's leave it as is for now and revisit Okta if needed.

@philippjfr philippjfr merged commit fa829b7 into holoviz:main Jul 10, 2025
33 of 35 checks passed
@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 Oct 21, 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.

Support showing OAuth logout link in the oauth error template (Auth0 provider)

2 participants

0