tagged [authentication]

ServiceStack CustomRegistrationFeature

ServiceStack CustomRegistrationFeature I'm new in ServiceStack library. I want to write my CustomRegistrationFeature with custom field and add it to ServiceStack as a Plugin. How can I do that?

Authentication: JWT usage vs session

Authentication: JWT usage vs session What is the advantage of using JWTs over sessions in situations like authentication? Is it used as a standalone approach or is it used in the session?

3 Dec at 18:32

How to disable ServiceStack sessions while keeping authentication features to implement per-request authentication

How to disable ServiceStack sessions while keeping authentication features to implement per-request authentication I'm trying to force per request authentication, but by adding the `AuthFeature` the `...

Token based authentication in Web API without any user interface

Token based authentication in Web API without any user interface I am developing a REST API in ASP.Net Web API. My API will be only accessible via non-browser based clients. I need to implement securi...

ASP.NET Identity Cookie across subdomains

ASP.NET Identity Cookie across subdomains For forms authentication I used this in web.config (note the domain attribute): How is a single sign-on across subdomains configured for the new ASP.NET Ident...

How to pass Windows Authentication credential from client to Web API service

How to pass Windows Authentication credential from client to Web API service Inside my corporate environment, I have IIS7.5 hosting both a Web API service and a separate website which makes calls into...

How should I choose an authentication library for CodeIgniter?

How should I choose an authentication library for CodeIgniter? I see there are [a few](http://codeigniter.com/wiki/Category:Libraries::Authentication/). Which ones are maintained and easy to use? What...

24 May at 03:37

vagrant login as root by default

vagrant login as root by default Problem: frequently the first command I type to my boxes is `su -`. Question: how do I make `vagrant ssh` use the root user by default? Version: vagrant 1.6.5

10 Sep at 06:31

How to authenticate in servicestack using angular spa basic authentication

How to authenticate in servicestack using angular spa basic authentication I have single page app and service stack as service on different domain name (cors). what is correct way to authenticate angu...

can i use google login for my java application?

can i use google login for my java application? Here i want to developed one application using google account login facility and i use google app engine for this any link or any tutorial for this??

ServiceStack session info error

ServiceStack session info error The incorrect ВisplayName through the entrance on Facebook: [](https://i.stack.imgur.com/BUwZH.png) any ideas how to fix without changing native SS code? ) PS:if sign i...

24 Feb at 13:12

How do you programmatically end a session in asp.net when Session.Abandon() doesn't work?

How do you programmatically end a session in asp.net when Session.Abandon() doesn't work? Session.Abandon() doesn't seem to do anything. You would expect the Session_end event to fire when Session.Aba...

ServiceStack AuthUserSession Roles & Permissions not populated when UseDistinctRoleTables

ServiceStack AuthUserSession Roles & Permissions not populated when UseDistinctRoleTables I'm not sure whether this is an issue or not, but AuthUserSession Roles an d Permissions properties are not po...

ASP.NET Core 2 AuthenticationSchemes

ASP.NET Core 2 AuthenticationSchemes There are several authentication schemes but I can't find any documentation on them. How do they differ?

Prevent user registration with ServiceStack.OpenId

Prevent user registration with ServiceStack.OpenId Is it possible to prevent ServiceStack from registering new users with the OpenId providers? (Registration Module disabled) I only want to enable Ope...

25 Jul at 08:25

Is there a way to disable the 'remember me' feature in ServiceStack?

Is there a way to disable the 'remember me' feature in ServiceStack? Obviously, not submitting that field to the login service works but anyone can override that. Is there a way to disable this featur...

Windows authentication in asp.net 5

Windows authentication in asp.net 5 I am building an intranet application in ASP .NET 5, MVC 6. I want to know how to enable Windows Authentication.? The default project template supports only Individ...

Run Code as a different user

Run Code as a different user Is there a way to tell my code to run as a different user? I am calling NetUserSetInfo via a PInvoke and I need to call it as a different user. Is there a way to do that?

Use asp.net authentication with servicestack

Use asp.net authentication with servicestack I have written a couple of ms lightswitch applications with forms authentication -> this creates aspnet_* tables in sql server. How can I use the defined u...

25 Feb at 14:3

ServiceStack user management

ServiceStack user management is there a way to manage users with ServiceStack? I've only found the `IUserAuthRepository` interface that has some methods to get a user by name, email and id. But how to...

ServiceStack auth with multiple repositories

ServiceStack auth with multiple repositories There are multiple AuthProviders we can setup for servicestack. But all of them supposed to use one user repository. Is there a way to setup, let's say, on...

20 Feb at 22:10

Servicestack add field UserAuth table and check on login

Servicestack add field UserAuth table and check on login I want to add new field(s) on UserAuth table (for example : blocked, verified) and I want to check when login. How I can do this? I did not fou...

How to get the current user in ASP.NET MVC

How to get the current user in ASP.NET MVC In a forms model, I used to get the current logged-in user by: How do I get the current user inside a controller class in ASP.NET MVC?

How to Use SHA1 or MD5 in C#?(Which One is Better in Performance and Security for Authentication)

How to Use SHA1 or MD5 in C#?(Which One is Better in Performance and Security for Authentication) In C# how we can use SHA1 automatically?Is SHA1 better than MD5?(We use hashing for user name and pass...

23 Feb at 08:10

Using Bcrypt with ServiceStack

Using Bcrypt with ServiceStack I am looking to use ServiceStack for an upcoming project, but I want to use bcrypt for hashing passwords. Currently the builtin repositories use SHA256 hashing. Is there...

10 Oct at 18:52