DefGuard / DefGuard/defguard

Improve error codes in OAuth token flow

Open
#1,407 0 comments 0 reactions 0 assignees View on GitHub
refactoring
Dominant language
Rust
Stars
2.8k
Forks
115
Avg merge
1d 4h
Merged PRs (30d)
51

Description

Currently `/api/v1/oauth/token` enpoint returns an `unsupported_grant_type` error code for all errors.

Introduce more relevant error codes to avoid misleading logs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.