tagged [authentication]

How can I verify a Google authentication API access token?

How can I verify a Google authentication API access token? ## Short version It's clear how an access token supplied through the [Google Authentication Api :: OAuth Authentication for Web Applications]...

Unauthorized (Invalid Token) when authenticating with JWT Bearer Token after update to .NET 6

Unauthorized (Invalid Token) when authenticating with JWT Bearer Token after update to .NET 6 After updating the package `Microsoft.AspNetCore.Authentication.JwtBearer` from version 3.1.14 to 6.0.1, r...

4 Jan at 13:3

The definitive guide to form-based website authentication

The definitive guide to form-based website authentication > #### Moderator note: This question is not a good fit for our question and answer format with the [topicality rules](/help/on-topic) which cu...

ServiceStack Authentication flow

ServiceStack Authentication flow I’m integrating ServiceStack authentication in my own web app. The flow that I’m trying to implementing is 1. Calling Authenticate method of my own AuthProvider 2. If ...

Anti-forgery token issues

Anti-forgery token issues I am having an issue with the anti-forgery token :( I have created my own User class which worked fine but now I am getting an error whenever I go to the page. The error is: ...

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...

User Registration with error: no such table: auth_user

User Registration with error: no such table: auth_user I am trying to use Django's default Auth to handle register and log in. `setting.py`: ``` INSTALLED_APPS = ( 'django.contrib.admin', 'django....

2 Aug at 07:2

Why is ServiceStack JwtAuthProvider being invoked when service is specified to authenticate with GithubAuthProvider?

Why is ServiceStack JwtAuthProvider being invoked when service is specified to authenticate with GithubAuthProvider? Exploring the `ServiceStack` authentication providers for the first time. Have grad...

7 Jul at 04:41

How do I retrieve the username that a Windows service is running under?

How do I retrieve the username that a Windows service is running under? Given a service name, I would like to retrieve the username that it runs under (i.e. the username shown in the 'Log On' tab of a...

23 Feb at 14:34

Get login username in java

Get login username in java How can I get the username/login name in Java? This is the code I have tried... ``` try{ LoginContext lc = new LoginContext(appName,new TextCallbackHandler()); lc.login(...

13 Feb at 20:30

JWT (JSON Web Token) automatic prolongation of expiration

JWT (JSON Web Token) automatic prolongation of expiration I would like to implement JWT-based authentication to our new REST API. But since the expiration is set in the token, is it possible to automa...

13 Feb at 09:13

Change GitHub Account username

Change GitHub Account username I want to change my account's user name on GitHub, but I can't find how to do it. Is this possible at all? To clarify, I'm not talking about the user.name parameter in a...

12 Feb at 19:38

How can I check if a user is logged-in in php?

How can I check if a user is logged-in in php? I'm pretty new to PHP and I am trying to figure out how to use sessions to check and see if a user is logged into a website so that they would have autho...

No OWIN authentication manager is associated with the request

No OWIN authentication manager is associated with the request After trying to enable owin & AspNet Identity to my Web Api project (in VS 2013 + .Net 4.5.1) I get the following error in each valid or u...

SignInManager,what it is and how,when to use?

SignInManager,what it is and how,when to use? I am exploring SignInManager class. But the information given on MSDN is very useless. It only tells what are the methods and properties provided. What I ...

Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) The dialog (Google form) for the credentials is opened successfully, bu...

Create partial login cookie for External Authentication

Create partial login cookie for External Authentication Recently I've implemented 2FA for my WebAPI using IdentityServer3. Everything works as expected if the login is made locally (using the `IUserSe...

Error "A strongly-named assembly is required" when referencing ServiceStack.Authentication.MongoDb.MongoDbAuthRepository version 2.10.3:

Error "A strongly-named assembly is required" when referencing ServiceStack.Authentication.MongoDb.MongoDbAuthRepository version 2.10.3: I have a ServiceStack Console project using the latest Nuget Pa...

Login to the page with HttpWebRequest

Login to the page with HttpWebRequest How can I login to the this page [http://www.bhmobile.ba/portal/index](http://www.bhmobile.ba/portal/index) by using HttpWebRequest? Login button is "Pošalji" (up...

20 Jun at 09:12

The HTTP request is unauthorized with client authentication scheme 'Ntlm' The authentication header received from the server was 'NTLM'

The HTTP request is unauthorized with client authentication scheme 'Ntlm' The authentication header received from the server was 'NTLM' I know there's a lot of questions on SO similar to this, but I c...

20 Jun at 09:12

.net MVC Simple Membership Authentication with Database

.net MVC Simple Membership Authentication with Database Using Code First Entity Framework with .NET MVC 4 I have created a new Web Application and populated the database with object as shown below. ``...

Error when using PrincipalContext.ValidateCredentials to authenticate against a Local Machine?

Error when using PrincipalContext.ValidateCredentials to authenticate against a Local Machine? I have a WCF service which contains a `Login` method that validates a username and password against the l...

ServiceStack 4.0.60: How to modify/kill sessions if the default behaviour is to not persist them to cache?

ServiceStack 4.0.60: How to modify/kill sessions if the default behaviour is to not persist them to cache? In my existing application I am able to log out (destroy) sessions because I keep a list of s...

Getting Basic login prompt instead of redirect

Getting Basic login prompt instead of redirect I have a .NET Core web application where I'm using ServiceStack. For authentication I'm using two auth providers; ApiKeyAuthProvider and CredentialsAuthP...

How to implement HMAC Authentication in a RESTful WCF API

How to implement HMAC Authentication in a RESTful WCF API We are building a RESTful API using WCF (currently .Net 3.5, but will be moving to .Net 4 soon). We have a functional framework in place, but ...

2 Jun at 15:5