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

core/databroker: disable identity manager user refresh when hosted authenticate is used #4905

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

calebdoxsey
Copy link
Contributor

Summary

If no authenticate_service_url is specified we switch to hosted authenticate mode. Hosted authenticate does not currently support user refresh, and user refresh is disabled if no idp_provider is specified. However if you specify an idp_provider while still using hosted authenticate, the identity manager will attempt to refresh the sessions, resulting in them being deleted after 10 minutes.

This PR changes the identity manager to only enable user refresh if both an idp_provider is set and hosted authenticate is not being used.

Related issues

Checklist

  • reference any related issues
  • updated unit tests
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey added the enhancement New feature or request label Jan 10, 2024
@calebdoxsey calebdoxsey requested a review from a team as a code owner January 10, 2024 22:10
@coveralls
Copy link

Coverage Status

coverage: 59.827% (-0.05%) from 59.874%
when pulling 45454c5 on cdoxsey/hosted-authenticate-refresh
into 6efef02 on main.

@calebdoxsey calebdoxsey merged commit 5e0079c into main Jan 12, 2024
12 checks passed
@calebdoxsey calebdoxsey deleted the cdoxsey/hosted-authenticate-refresh branch January 12, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants