OpenIDDict as custom Identity implementation #16104
Replies: 7 comments
-
Looks like you are trying to configure opendiddict like for any other web app, even though you shouldn't have to do anything like this since the modules already do that for you. Summoning @kevinchalet |
Beta Was this translation helpful? Give feedback.
-
@lahma what have you broken again? ( |
Beta Was this translation helpful? Give feedback.
-
Odd to see the library mentioned that I actually should concentrate on 🤪 |
Beta Was this translation helpful? Give feedback.
-
@sebastienros that configuration is best I can get. I tried to remove
also tried to remove line byline, but in any way was not able to complete login operation. |
Beta Was this translation helpful? Give feedback.
-
I agree. Using OpenIddict in parallel to OrchardCore (instead of using the native module) should work, as long as you don't try to do anything OpenIddict-related in an OrchardCore module. No need so say it's not something I've tested, so... 😅 That said, it's not specific to OpenIddict: as soon as you register some complex stuff at the host level, it's likely you'll see some side effects affecting OrchardCore or its modules. FWIW, I'm not sure the symptom you describe is caused/related to OpenIddict. It seems like an issue with the fact you're using |
Beta Was this translation helpful? Give feedback.
-
@kevinchalet @sebastienros is there any other way (configuration) how I can achieve my scenario? |
Beta Was this translation helpful? Give feedback.
-
Assuming you are trying to achieve the first statement, then look in the documentation on how to do it using the existing modules (OpenIdDict ones). I think there are also some blog posts external to Orchard showing it (links appreciated if someone has them). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying ti implement Decouplecd CMS with OpenIdDict identity implementation. According to #3900 that is possible.
Idea is to use custom identity for registered user and OC users just to decoupled CMS.
I use OpenIdDict example from https://github.com/openiddict/openiddict-core/tree/dev/sandbox and just followed Creating a new decoupled CMS Website.
On the end I finished with
And this approach works fine with OpenIDDIct. I was able to redirect to OpenIdDict server and login and get data from resource controller.
However, there is issue when I try to go to /admin in order to access OC admin page. There I get
Anybody has idea what can be changed in order to make this works?
Beta Was this translation helpful? Give feedback.
All reactions