tagged [authentication]
ServiceStack custom response on failed authentication
ServiceStack custom response on failed authentication I've created a custom authentication for servicestack, which works well. The only problem is, that I get empty responses for every route, that req...
- Modified
- 21 Sep at 09:15
Can you get a Windows (AD) username in PHP?
Can you get a Windows (AD) username in PHP? I have a PHP web application on an intranet that can extract the IP and host name of the current user on that page, but I was wondering if there is a way to...
- Modified
- 3 Oct at 19:53
Authenticating in PHP using LDAP through Active Directory
Authenticating in PHP using LDAP through Active Directory I'm looking for a way to authenticate users through LDAP with PHP (with Active Directory being the provider). Ideally, it should be able to ru...
- Modified
- 10 Mar at 02:37
How can I make SMTP authenticated in C#
How can I make SMTP authenticated in C# I create new ASP.NET web application that use SMTP to send message. The problem is the smtp was not authenticated from who send the message. How can I make SMT...
- Modified
- 26 Apr at 10:28
How should I handle authentication with Nancy?
How should I handle authentication with Nancy? I started coding a LoginModule for Nancy, but it occurred to me that possibly I need to perform authentication a different way. Is there an accepted way ...
- Modified
- 16 Nov at 16:40
Authentication and Authorization with ServiceStack.MVC
Authentication and Authorization with ServiceStack.MVC AuthorizeAttribute is useless while using ServiceStack.Mvc AuthenticateAttribute is for DTO objects. There is no sample for AccountController wit...
- Modified
- 28 Jun at 00:50
Whats the best way to force a browser redirect after logout of ServiceStack
Whats the best way to force a browser redirect after logout of ServiceStack Currently when a user logs out the log out process works correctly but the user stays on the same screen and therefore can s...
- Modified
- 19 Mar at 18:44
How to programmatically log in to a website to screenscape?
How to programmatically log in to a website to screenscape? I need some information from a website that's not mine, in order to get this information I need to login to the website to gather the inform...
- Modified
- 11 Aug at 13:37
How to clear basic authentication details in chrome
How to clear basic authentication details in chrome I'm working on a site that uses basic authentication. Using Chrome I've logged in using the basic auth. I now want to remove the basic authenticatio...
- Modified
- 12 Oct at 12:34
Why would my REST service .NET clients send every request without authentication headers and then retry it with authentication header?
Why would my REST service .NET clients send every request without authentication headers and then retry it with authentication header? We happen to run a REST web service with API requiring that clien...
- Modified
- 10 Sep at 08:55
How to get the currently logged in user's user id in Django?
How to get the currently logged in user's user id in Django? How to get the currently logged-in user's id? in `models.py`: in `views.py`:
- Modified
- 11 Jul at 09:33
Check whether the allow anonymous is on or not in ASP.NET Core
Check whether the allow anonymous is on or not in ASP.NET Core I need a way to check if "allow anonymous" is on/off in the controller action. Whether it comes from controller attribute, action attribu...
- Modified
- 18 Aug at 15:37
How to change users in TortoiseSVN
How to change users in TortoiseSVN I was setting up another user to use our SVN repository. He didn't have a username/password, so I logged in with my credentials. We now have a username/password for...
- Modified
- 20 Dec at 21:42
Devise redirect after login fail
Devise redirect after login fail All the questions I've found are related to a successful login with the helper `after_sign_in_path_for(resource)` I have a login form in the index of the site, and whe...
- Modified
- 25 Sep at 06:14
How to login using Windows Authentication in .NET Core with Servicestack
How to login using Windows Authentication in .NET Core with Servicestack In previous applications using ServiceStack, me and my team have been using .NET Framework and the included AspNetWindowsAuthPr...
- Modified
- 12 May at 07:45
Full name rather than the domain id in User.Identity.Name
Full name rather than the domain id in User.Identity.Name The `User.Identity.Name` property returns the domain login id. Which class/property exposes the actual user name? For user "John Doe" who logs...
- Modified
- 26 Nov at 12:51
Why ClaimsPrincipal.Current is returned null even when the user is authenticated?
Why ClaimsPrincipal.Current is returned null even when the user is authenticated? In an ASP.Net core 2.0 applicaiton (SPA with Angular), while User.Identity.IsAuthenticated is returning true, the Clai...
- Modified
- 19 Aug at 21:11
Authenticating to ServiceStack with Angular
Authenticating to ServiceStack with Angular We are looking to build an Angular 2 SPA using ServiceStack. We are primarily looking for a getting started type of instructions/demos on handling authentic...
- Modified
- 25 Jun at 05:33
PostgreSQL error: Fatal: role "username" does not exist
PostgreSQL error: Fatal: role "username" does not exist I'm setting up my PostgreSQL 9.1. I can't do anything with PostgreSQL: can't `createdb`, can't `createuser`; all operations return the error mes...
- Modified
- 18 Nov at 05:36
How to programatically 'login' a user based on 'remember me' cookie when using j2ee container authentication?
How to programatically 'login' a user based on 'remember me' cookie when using j2ee container authentication? i'm using form based authntication in my WAR. i want to implement a 'remember me' cookie s...
- Modified
- 5 Sep at 21:35
how to generate a unique token which expires after 24 hours?
how to generate a unique token which expires after 24 hours? I have a WCF Webservice which checks if the user is valid. If the user is valid I want to generate a token which expires after 24 hours. ``...
- Modified
- 1 Feb at 10:2
Alternative to cookie based session/authentication
Alternative to cookie based session/authentication Is there an alternative to the session feature plugin in servicestack? In some scenarios I cannot use cookies to match the authorized session in my s...
- Modified
- 22 May at 22:21
Angular redirect to login page
Angular redirect to login page I come from the Asp.Net MVC world where users trying to access a page they are not authorized are automatically redirected to the login page. I am trying to reproduce th...
- Modified
- 31 Jul at 03:3
Built-in helper to parse User.Identity.Name into Domain\Username
Built-in helper to parse User.Identity.Name into Domain\Username Is there any built-in utility or helper to parse `HttpContext.Current.User.Identity.Name`, e.g. `domain\user` to get separately domain ...
- Modified
- 18 Dec at 22:47
How do you implement authentication in servicestack.net
How do you implement authentication in servicestack.net I'm investigating servicestack.net - but it's examples and articles don't seem to cover authentication - is this something handled by servicesta...
- Modified
- 6 Jun at 19:45