Comments (7)
You want windows AD or Azure AD?
In any case you don’t need RegisterUser form, this is for open internet applications where users can register themselves. With AD integration the user is created automatically when they login for the first time.
from framework.
I mean, Windows AD,
I'm using this button to get user from A.D.
after that, it's created in User list,
from framework.
you need an authorizer and set it you Starter.cs
AuthLogic.Authorizer = new SouthwindAuthorizer(() => Configuration.Value.ActiveDirectory);
https://github.com/signumsoftware/southwind/blob/master/Southwind.Logic/SouthwindAuthorizer.cs
in Startup.cs ConfigureServicrs you need:
services.AddAuthentication(IISDefaults.AuthenticationScheme);
In MainPublic.tsx you need:
AuthClient.registerWindowsAuthenticator();
Just after/before registerUserTicket();
Finally you need to install it and configure it in IIS
It’s a little bit complicated, best of luck
from framework.
Did it work? Can I close the issue?
from framework.
Hi,
I didn't try yet, but I understand. Thanks,
you can close if get any problem I can ask again.
from framework.
Hi @olmobrutall
I add points of your detailed instructions to my code,
After that, I'm getting this error if I log in with System User
Refresh the page getting this error,
System.Security.Authentication.AuthenticationException (ExceptionID 2253)No authentication information found! at Signum.React.Authorization.AuthTokenServer.InvalidAuthenticator(FilterContext actionContext) in C:\SignumProjects\EmployeePortal\Framework\Signum.React.Extensions\Authorization\AuthTokensServer.cs:line 42 at Signum.React.Filters.SignumAuthenticationFilter.Authenticate(ResourceExecutingContext actionContext) in C:\SignumProjects\EmployeePortal\Framework\Signum.React\Filters\SignumFilters.cs:line 56 at Signum.React.Filters.SignumAuthenticationFilter.GetResource(ResourceExecutingContext context) in C:\SignumProjects\EmployeePortal\Framework\Signum.React\Filters\SignumFilters.cs:line 66 at Signum.React.Filters.SignumDisposableResourceFilter.OnResourceExecutionAsync(ResourceExecutingContext context, ResourceExecutionDelegate next) in C:\SignumProjects\EmployeePortal\Framework\Signum.React\Filters\SignumFilters.cs:line 165 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
If I use the Login With Windows User button with Domain User (I got user from Active Directory and create a user automatically in User section), I'm getting this error,
Could you help me?
Thanks for all
from framework.
Hi, @olmobrutall,
Could you tell me what is the problem? it's a bit important for me,
Thanks for all
from framework.
Related Issues (20)
- Importing the exprted xml menu. HOT 3
- Upgrade to .NET Core? HOT 7
- Test environment path HOT 3
- Where is the export tool bar to xml? HOT 1
- Mysql support and .net core HOT 5
- Bug Report code generation. HOT 1
- Change license to MIT HOT 15
- Does not Compile as Release with VS2019 HOT 4
- dotnet publish -c Release does not work with Dotnet SDK 3.0 Pre HOT 2
- EMail Message Create button is missing. HOT 1
- Can't find Load Project downloaded project zip HOT 19
- Receiving emails via smpt HOT 1
- Ability to disable prompt 'lose changes' HOT 5
- Translation Problem in Dasboard Tab view HOT 2
- Key 'Signum.Entities.Rest.RestLogEntity' (string) not found on ItemsDictionary HOT 7
- How to use [CurrentEntity] to filter current entity HOT 11
- Problems with transactions HOT 2
- Read Only property of Entity in UI HOT 2
- Improve password security HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.