-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
(OrchardCore.OpenId) contains CORS metadata, but a middleware was not found that supports CORS. #16429
Comments
enabling the Cors feature "without creating CORS profile" fixed the issue. If Core feature is now required, we should add that feature as a dependency to the feature that requires it. |
Arf fuck, I recently added the Adding the dependency is probably a good idea. Alternatively, we could set |
@kevinchalet would you mind submitting a PR to fix this? Maybe also upgrade the OpenIDDict project "I think you recently had a new release". I am tagging this issue with 2.0 milestone to ensure this is fixed before the release |
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
@kevinchalet using |
I want to ensure this issue is fixed quick so I submitted a PR using the |
Describe the bug
I am not sure if this is an issue or just a misuse. I run the main branch locally. I created a site using the blank recipe called
sso
and enabled the OpenId server feature. addedemail
andprofile
scopes, then create a test application.Created another tenant locally called
ssoblog
using the blog recipe`. I enabled the OpenId Client feature and configured the client using the info I used to create the app with:When I went to https://localhost:44300/ssoblog/Login, and clicked on the "Local SSO" button. I get the following error
@kevinchalet I know we have updated OpenIdDict multiple times lately, if this a issue or am I doing something wrong during the setup? I have a feeling because I am doing this locally I may have to enable cors feature but want to make sure there isn't a real issue that we should worry about before I mess around with CORS.
The text was updated successfully, but these errors were encountered: