Skip to content

Conversation

@debdutdeb
Copy link

No description provided.

Signed-off-by: Debdut Chakraborty <[email protected]>
@debdutdeb debdutdeb requested a review from a team as a code owner June 30, 2024 23:37
@debdutdeb debdutdeb force-pushed the spec-compliant-token-checking branch from 1334c64 to 4730173 Compare June 30, 2024 23:37
Copy link
Contributor

@tadzik tadzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside of the vi marker

}
}

// vi: et sw=4 ts=4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an accidental leftover


const tokenFromQuery = req.query.access_token;

const tokenFromHeader = req.get("authorization").substring(7); // "Bearer ".length === 7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we check for "Bearer "?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants