udibo / oauth2_server

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
MIT License
21 stars 4 forks source link

Replace OAuth2Error with HttpError #22

Closed KyleJune closed 3 years ago

KyleJune commented 3 years ago

https://deno.land/x/http_error@0.1.1

For this, I'll need to update the code that generates the error code to base it on the name. Exclude error from all codes but server_error. Do not expose the server errors beyond the name and status of it.