haskell-oidc-client icon indicating copy to clipboard operation
haskell-oidc-client copied to clipboard

Add state argument to delete

Open JonathanLorimer opened this issue 1 year ago • 2 comments

This PR also includes diff changes from #65

All call sites of sessionStoreDelete have access to the state argument, and in my case I want to only clear the state for a specific authentication request (not all of them), therefore I need to identify which entry I am going to remove.

I could parameterize my entire session store by State but that is kind of clunky and doesn't allow me to simply define the session store once.

JonathanLorimer avatar Jul 11 '24 13:07 JonathanLorimer

@krdlab

JonathanLorimer avatar Jul 11 '24 13:07 JonathanLorimer

@krdlab I rebased, and fixed the failure on the example component. Ready for review again

JonathanLorimer avatar Jul 17 '24 13:07 JonathanLorimer