fastify / fastify/help

oauth2-redirect-verifier value

Open
#1,079 3 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
No language data
Stars
68
Forks
8
Avg merge
11h 2m
Merged PRs (30d)
2

Description

## 💬 Question here

I am a bit concerned about potential security issues and so I am wondering if the "oauth2-code-verifier" is the hashed version (code challenge) of the plain text Code Verifier?

It it IS hashed, I guess there is no security issue...?
If it is NOT hashed, then it seems like it does not fulfill Oauth2 protocol...? (Im not claiming necessarily, Im asking)
Ref.:
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics#name-authorization-code-grant

![Image](https://github.com/user-attachments/assets/aa0803e4-4357-4bbb-8f33-32eb26a684ee)

## Your Environment

- *node version*: 22
- *fastify version*: 7.8.0
- *os*: Linux (docker container running on Mac)

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.