Exception: oauth_client not registered
Closed this issue · 0 comments
cal-itp-sentry commented
Sentry Issue: BENEFITS-85
Exception: oauth_client not registered: xxx
File "benefits/oauth/views.py", line 107, in logout
raise Exception(f"oauth_client not registered: {verifier.auth_provider.client_name}")
The quick fix for this will be to edit the logout
view to call the helper function create_client
.
Longer term we should seek to better understand OAuth client registration, and if we are doing that correctly.