Comments (3)
I'm minded to not change anything for this, as this is customisable using built-in configuration functionality, even though it is maybe not 100% intuitive due to us building the URLs for you in the default case.
Sounds very reasonable. Customizing the endpoints is generally reserved to very specific scenarios, so not sure it's worth changing anything on our end.
from aspnet.security.oauth.providers.
We can look at making a change to have it only set the values if they are null.
In the meantime, you could workaround this with the following code snippet:
services.AddOkta("TestScheme");
services.AddOptions<OktaAuthenticationOptions>("TestScheme")
.PostConfigure((options) =>
{
options.AuthorizationEndpoint = "whatever";
options.TokenEndpoint = "whatever";
options.UserInformationEndpoint = "whatever";
});
EDIT: Updated code snippet after testing.
from aspnet.security.oauth.providers.
I'm minded to not change anything for this, as this is customisable using built-in configuration functionality, even though it is maybe not 100% intuitive due to us building the URLs for you in the default case.
You can see in this test that you can further configure the options after OktaPostConfigureOptions
has run: martincostello@cdeb022#diff-410fc1906e363b918ed101da30985db9efb377bb50945d8e3c058af8a7e584ff
Otherwise if we use ??=
instead of =
to assign the endpoint property values, the original way of configuring things would work, or PostConfigure
can be simplified to Configure
in that case.
Thoughts @kevinchalet?
from aspnet.security.oauth.providers.
Related Issues (20)
- EpicGames Provider HOT 1
- KeyNotFoundException: The given key was not present in the dictionary. HOT 8
- Vkontakte Provider - KeyNotFoundException: The given key was not present in the dictionary. HOT 2
- Apple Sign in redirects to blank page HOT 6
- ASP.NET Core 8 Support HOT 1
- Add support of the new LinkedIn API version format HOT 8
- Discord Provider StackOverflowException HOT 2
- Determine whether the Kloudless provider is still working HOT 2
- add wechat official account providers. HOT 1
- Shopify provider AuthenticationProperties must contain ShopNameAuthenticationProperty HOT 3
- MyGet.org is down HOT 6
- Update AspNet.Security.OAuth.LinkedIn to work with Sign In with LinkedIn using OpenID Connect HOT 2
- Weixin use qrcode login HOT 2
- Unable to retrieve OpenID configuration for Apple HOT 11
- how to implement external login provders(linkedin) login using .net core with openidconnect? HOT 1
- Twitter v2: The oauth state was missing or invalid. HOT 6
- X/Twitter v2 iPhone Browser Interception Issue: Correlation failed. HOT 7
- Cannot register all BattleNet Provider Regions at the same time. HOT 5
- Multiple tenants for Okta at runtime HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnet.security.oauth.providers.