-
Notifications
You must be signed in to change notification settings - Fork 230
-
Notifications
You must be signed in to change notification settings - Fork 230
Out of Box Experience #116
Comments
Since this is open source and I do this in my free time, I can't do everything -- feel free to submit a PR with a template or a sample that makes this better. |
That was my intention @brockallen, but I cant even get it running now. |
It should be able to run -- does the host sample from the main github repo work? What errors are you having? |
Tried working on this again tonight but wasn't having much luck again, so i thought i'd check the host project. I upgraded it to use the latest build of IdentityManager from NuGet and it broke. I tried adding |
I just downloaded the master repo from github as-is (so as to not accidentally use my dev solution) and it built and ran fine for me. |
Also, do you have RAMMFAR enabled? |
Brock, I got yesterdays build, and the IdentityManager runs fine. Ran against both localhost and cookies |
@bruceprentice ok, thanks for the update. |
@VISHAL123 Ok, I discovered what's happening to you -- the request to ~/authorize is service from IdentityManager and your MVC application's routing is eating the request. |
Ok, now I think I know what your issue was -- you don't have RequireSsl == false. The Microsoft OAuth middleware just does nothing if that's the case. I have put in an error message to help out for others. This is now in beta5-1. |
Good spot @brockallen, I upgraded to beta5-3 and did indeed get the HTTPS messages. Now that its working, I'll have a look and see if there's anything I can do to reduce the amount of wiring needed to make this work on the default template. |
Would it be possible to improve the Out of Box Experience with the Visual Studio Templates?
Ideally to get this up and running, it should be as simple as creating a new website (MVC), and in the startup file adding
app.UseIdentityManager();
orapp.Map("/idm", _ => { _.UseIdentityManager(); });
I've managed to get this to work once, but attempting beta5, with the host project as a reference, I can't seem to figure it out.
The text was updated successfully, but these errors were encountered: