`oidc_login_prompt` not clearing on successful login

I'm working with the OIDC plugin (in conjunction with the JWT plugin) to allow external applications to login through OAuth into my better-auth powered app, but I'm running into the problem outlined in: https://github.com/better-auth/better-auth/issues/5292

I added their lines and it somewhat worked, but the flow doesn't end up clearing out the cookie seeing as consent is already accepted. Any insight would be extremely helpful here
GitHub
OIDC Provider: oidc_login_prompt and oidc_consent_prompt cookies persist after consent and logout Description The OIDC Provider plugin sets two cookies during the OAuth authorization flow: oidc_log...
Was this page helpful?