Base solution for your next web application

Activities of "blewis"

Because I was using MVC, I started by trying the MVC opion for Kentor. I didn't think about trying the OWIN option (which is a different setup). I will take a look at this info and see if it integrates better and let you know.

Thanks.

Just as a followup. I was not able to get the OWIN version to work. Probably my own fault since I am not familiar enough with OWIN and external auth.

However, I was able to take the MVC version of their library (KentorIT.AuthServices.MVC) and modify their AuthServicesController using some of the ExternalLogin code from your existing AccountController (taken from the AbpMvcSample project). This allowed me to receive the info from our external Identity SAML Provider and add the user to the Abp Users table if it doesn't exist and log the user in.

I haven't been able to fully cleanup the combined code yet, but if anyone else needs SAML support, I would be happy to share.

Bryan

Did you get this working? I too must extend the OU class, adding a bunch of custom fields as well as creating one-to-many relationships with other new classes that I am creating. If the ForeignKey attribute did not work, did using the Fluent API take care of this? Just starting this new project, so any tips would be appreciated.

thanks, Bryan

I am using EF CORE on the Asp.Net Core + jQuery template.

I think this issue came up because of the time difference between when the general packages were updated and the release of Zero 4.1. I just downloaded 4.1.1 from the web site but haven't been able to try it yet. I will let you know.

Bryan

Sorry, ASP.NET Core & jQuery. (Zero version 4.1.1 -- just downloaded).

Thanks!

Thanks!

Answer

Thanks. I used your first suggestion. I wasn't able to use the second approach because I had to add a reference to the parent OU in my query and it appears that there is no parent navigation property built into AbpOU, so I couldn't use Include().

Thanks again, Bryan

While I am doing some stuff server-side (not with Moment), I figured it out. However, I think you have a typo in your docs. On the page about Timing at <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Timing#DocTimeZones">https://aspnetboilerplate.com/Pages/Doc ... cTimeZones</a>, you state:

ABP assumes that value of timezone setting is a valid Windows timezone id.

When I attempted to use the numeric Windows Timezone ID as documented by MS at <a class="postlink" href="https://msdn.microsoft.com/en-us/library/gg154758.aspx">https://msdn.microsoft.com/en-us/library/gg154758.aspx</a>, it starting giving me errors. When I changed the Abp.Timing.TimeZone setting to the Timezone Name (e.g. "Pacific Standard Time") everything was fine.

Bryan

Showing 1 to 10 of 22 entries