malach-it / boruta_auth

A yet complex but OpenID™ certified OAuth / OpenID Connect provider core
MIT License
53 stars 10 forks source link

return one of 3 more specific errors #22

Open mayel opened 7 months ago

patatoid commented 7 months ago

I am not sure the need behind your use case. Do you need to match only one error for all cases? Providing specific errors helps the integration. Can it be a specific string prefix for all the error cases?

mayel commented 7 months ago

This is purely for debugging purposes, I was getting this error unexpectedly and after this change I can see that the token is being revoked which should hopefully help figure out what's happening...

mayel commented 7 months ago

Can it be a specific string prefix for all the error cases?

Sounds good!