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

Add EventsType OktaWebApiOptions to enable DI support #247

Open
waynebrantley opened this issue Oct 9, 2023 · 0 comments
Open

Add EventsType OktaWebApiOptions to enable DI support #247

waynebrantley opened this issue Oct 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@waynebrantley
Copy link

Describe the feature request?

OktaWebApiOptions is a custom class that ultimately gets mapped to asp.net JwtBearerOptions

This class is missing the EventTypes

This type is needed if any of the events need dependency injection. The Events type is constructed (with constructor injection) and used as a service by asp.net

.NET Version

standard 2.0

Provide a documentation link if applicable

No response

Additional Information?

The code change for this is very minimal and would be completely non-breaking and backwards compatible.
Simply add the EventsType property to the OktaWebApiOptions class and adjust the OpenIdConnectOptionsHelper to map it to the actual class that uses it.

@waynebrantley waynebrantley added the enhancement New feature or request label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant