Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add dedicated typing for oauth2 and oidc #2384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emmanuelgautier
Copy link

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

Issue Number: N/A
Currently, there is no typing dedicated for OpenId Connect or OAuth2. Additional properties like the bearerFormat may be invalid and the typing is not protecting against this case.

What is the new behavior?

Dedicated typing has been added so a typing error will show in case a wrong options is passed

Does this PR introduce a breaking change?

  • Yes

This PR removes some properties for the addOAuth2 options argument.

Other information

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.

None yet

1 participant