Skip to content

[BUG]: type OAuthAppAuthentication does not conform to OIDC specifications #279

@ataylorme

Description

@ataylorme

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 by https://github.com/login/oauth/access_token

I believe auth-oauth-user.js should not alter the response from https://github.com/login/oauth/access_token and instead return snake_case

Versions

"@octokit/auth-oauth-user": "^5.1.1"

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    🔥 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions