[BUG]: type OAuthAppAuthentication does not conform to OIDC specifications #279
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
What happened?
I am using auth-oauth-user.js to generate a user access token using the web flow.
The responses are used in an OpenID Connect (OIDC) identity provider. The return type
OAuthAppAuthentication
does not conform to OIDC specifications.This is causing me to manually remap the returned value from
auth-oauth-user.js
from camelCase back to snake_case as originally provided byhttps://github.com/login/oauth/access_token
I believe
auth-oauth-user.js
should not alter the response fromhttps://github.com/login/oauth/access_token
and instead return snake_caseVersions
"@octokit/auth-oauth-user": "^5.1.1"
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: