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

[Feature Request] Add API for InitiateLongRunningProcessInWebApi to search in cache #4124

Closed
pmaytak opened this issue May 9, 2023 · 0 comments · Fixed by #4135
Closed

Comments

@pmaytak
Copy link
Contributor

pmaytak commented May 9, 2023

Is your feature request related to a problem? Please describe.
In 4.50.0 and below, InitiateLongRunningProcessInWebApi always checks the cache for access or refresh tokens and when matching it ignores the assertion hash in the request. In 4.51.0 - 4.53.0, InitiateLongRunningProcessInWebApiwas updated to not check the cache at all and just use the request user assertion to retrieve tokens from AAD. There's a request to add the legacy behavior.

Describe the solution you'd like
Add WithSearchInCacheForLongRunningProcess(bool) API. In OnBehalfOfRequest class, use the flag to check for access and refresh tokens.

@pmaytak pmaytak added this to the 4.54.0 milestone May 9, 2023
@pmaytak pmaytak self-assigned this May 9, 2023
@pmaytak pmaytak modified the milestones: 4.54.0, 4.55.0 May 10, 2023
@pmaytak pmaytak changed the title [Feature Request] Add API for InitiateLongRunningProcessInWebApi to ignore cached assertion [Feature Request] Add API for InitiateLongRunningProcessInWebApi to search in cache May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
1 participant