<cite>alper: </cite> Do you mean this <a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/security/authentication/ws-federation">https://docs.microsoft.com/en-us/aspnet ... federation</a>
Dear alper,
That's right alper. In the ASP.NET MVC 5.x version, it already support. All we need is configuration in web.config file like bellow:
<add key="ExternalAuth.WsFederation.IsEnabled" value="true" /> <add key="ExternalAuth.WsFederation.MetaDataAddress" value="https://xxx/federationmetadata/2007-06/federationmetadata.xml" /> <add key="ExternalAuth.WsFederation.Wtrealm" value="https://localhost:44303/" />
You can check the different in here <a class="postlink" href="https://aspnetzero.com/Documents/Version-Differences">https://aspnetzero.com/Documents/Version-Differences</a>
Thanks!
<cite>alper: </cite> Hi,
It's already implemented. Update your ABP packages to the latest.
And uncomment the below line in AbpZeroTemplateCoreModule.cs
//Configuration.Modules.ZeroLdap().Enable(typeof(AppLdapAuthenticationSource));
<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/AbpZeroTemplateCoreModule.cs#L71">https://github.com/aspnetzero/aspnet-ze ... ule.cs#L71</a>
Dear alper,
This is LDAP login support, I ask about ADFS login, it's diffirent! AspNet Zero have plan to do that? Or can give me some step to integration with ADFS.
Thanks!
Dear AspNet zero,
I want to update my project to ASP.NET Core & JQuery but this version doesn't support ADFS login.
Please tell me do you have plan to support that? or Can you give me some help to step by step working with ADFS.
Thanks in advance!
<cite>ismcagdas: </cite> Hi @VuCA,
No, unfortunately nothing comes to my mind on AspNet Zero side. Have you checked if there are any configuration on Oracle side ?
<cite>ismcagdas: </cite> Hi @VuCA,
No, unfortunately nothing comes to my mind on AspNet Zero side. Have you checked if there are any configuration on Oracle side ?
:( :( :( :( So sad! Can you suggest some tools to check this problem, I'm sure there no any configuration on Oracle need, because many we use oracle in many site and no issue with this.
<cite>ismcagdas: </cite> Hi,
I'm not sure if this is related to AspNet Zero or Oracle. Can you try to increase connection timeout as suggested in here <a class="postlink" href="https://stackoverflow.com/a/32712423/6681451">https://stackoverflow.com/a/32712423/6681451</a> ?
Dear ismcagdas,
I'll try to increase connection timeout as you suggested but I think it's not a reason in this case. Because when I run this website in single IIS Server everything is ok but when I join to IIS-Web Farm (include 5 server) then the issue will come. Do you have any ideal about it?
Thanks!
<cite>ismcagdas: </cite> Hi @VuCA,
Could it be a database access problem ? Maybe caused by a firewall ?
Hi ismcagdas,
How to finalize this issue? Can you tell me how to check this?
Notes: The website is working, I don't know sometime it's throw these exception and keep the CPU resource of the servers, until I restart app pool. I checked each server telnet to db successful.
Thanks!
<cite>aaron: </cite> I mean the current user that builds and executes the application.
Dear @aaron, by default everyone have read / write permission on this folder and I checked. The strange thing is when I run on single server it doesn't throw exception but when I add to IIS-Farm the error will occurs.
<cite>aaron: </cite> How about the user that runs the site?
What do you mean aaron? Sorry I don't understand your question, can you explain more?
<cite>aaron: </cite>
System.ArgumentException: Unable to obtain public key for StrongNameKeyPair.
You need full access for one of these:
Thanks @aaron, But my iis-user is already have permission on this "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" folder :cry:
Dear admin,
I found some exceptions in the log file, please help me figure out this error and how to fix it:
Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not proxy Abp.EntityFramework.Repositories.EfRepositoryBase2[[Abp.Zero.EntityFramework.AbpZeroCommonDbContext
2[[MyNamespace.Authorization.Roles.Role, MyNamespace.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null],[MyNamespace.Authorization.Users.User, MyNamespace.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]], Abp.Zero.EntityFramework, Version=2.1.3.0, Culture=neutral, PublicKeyToken=null],[Abp.Localization.ApplicationLanguage, Abp.Zero.Common, Version=2.1.3.0, Culture=neutral, PublicKeyToken=null]] ---> System.ArgumentException: Unable to obtain public key for StrongNameKeyPair.
......
3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch) at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch) at OracleInternal.ConnectionPool.OracleConnectionDispenser
3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
at Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices.GetDbProviderManifestToken(DbConnection connection)
at System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)
--- End of inner exception stack trace ---
at System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)
at System.Data.Entity.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection)
--- End of inner exception stack trace ---
at System.Data.Entity.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection)
at System.Data.Entity.Infrastructure.DefaultManifestTokenResolver.<>c__DisplayClass1.<ResolveManifestToken>b__0(Tuple3 k) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at System.Data.Entity.Infrastructure.DefaultManifestTokenResolver.ResolveManifestToken(DbConnection connection) at System.Data.Entity.Utilities.DbConnectionExtensions.GetProviderInfo(DbConnection connection, DbProviderManifest& providerManifest) at System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection) at System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) at System.Data.Entity.Internal.RetryLazy
2.GetValue(TInput input)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
at System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
at Abp.EntityFramework.AbpDbContext.RegisterToChanges()
at MyNamespace.EntityFramework.MyDbContext..ctor(String nameOrConnectionString)
....
Please help me! Thanks in advance!