-
Notifications
You must be signed in to change notification settings - Fork 52
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
An Alternative (Simpler) Initialization #59
Comments
Hi @jamesmh, Thanks for your feedback ❤️! It sounds like a good idea. |
Great - thank you so much @laura-rodriguez ! |
Hi @jamesmh! |
Yes I am 👍 I'll ask any questions etc. on this thread - I'm sure I'll have a few 😋 Thanks Laura! |
You will have to sign our Okta Individual Contributor License Agreement. All the info you need is here: https://developer.okta.com/cla/ |
I'll sign that off soon 👍 Question: In order to test the new extension method properly, it looks like I'll have to create a new integration test project - is that OK with you guys? |
Hi @jamesmh, |
The quick start docs for .NET Core have a code snippet for the initial Okta middleware setup to be used in the
ConfigureServices
method.(This one 👇)
This is pretty simple 😊
I just want to throw out an alternative option for devs who:
It might look something like this (whatever the name might be):
This would internally do what the above snippet does.
It would reduce the using statements from 2 to 1 - removing the need for:
It's not a big deal but it's a tiny "win." And tiny "wins" over time can compound, right?
This would match some of the conventions built into .NET Core too. For example, adding the entire MVC infrastructure is simply:
Under the covers that would add a bunch of stuff that the dev could otherwise add himself. But the simple convenience is part of what makes .NET Core so great.
Other pros:
If you guys think this is a good idea I'd be up for implementing that. Otherwise, no harm done 🤣
Thanks! Keep up the good work guys 👌
The text was updated successfully, but these errors were encountered: