Questions tagged [custom-authentication]
176 questions
6
votes
2 answers
django custom user model groups and permissions
I am trying to implement custom user model in my django application.
If I just copy and paste the code from this article, it works great. But I wish this custom user model to have permissions and groups. So I added this inheritance to…

user3262515
- 173
- 1
- 10
6
votes
2 answers
Custom Authentication with Azure Mobile Apps
I'm using the new Azure Mobile Apps (not the old Mobile Services) as backend for my Xamarin-App. Mobile Apps comes with a bunch of Social Authentication Options (e.g. Twitter, Facebook...), but I want my own authentication with my own account…

Paratron
- 63
- 5
5
votes
0 answers
Adding custom Oauth2 provider in Firebase
We are creating an app and using firebase authentication. We have an existing oauth2 provider in our organization. Is it possible to add this custom provider in firebase? So we will add a new client in our identity provider and configure firebase so…

Anup
- 1,502
- 2
- 15
- 31
5
votes
1 answer
Is it possible to use Firebase signInWithEmailAndPassword in Stitch Custom Authentication/ Stitch Auth
I would like to use Firebase signInWithEmailAndPassword to authenticate user in a mongodb Stitch application. Is it possible?
I've researched about Stitch Custom Authentication using JWT Signing key. But I don't know if it's possible to get a JWT…

Jakka NSK
- 111
- 4
5
votes
2 answers
Custom basic authentication fails in IIS7
I have an ASP.NET MVC application, with some RESTful services that I'm trying to secure using custom basic authentication (they are authenticated against my own database). I have implemented this by writing an HTTPModule.
I have one method attached…

reustmd
- 3,513
- 5
- 30
- 41
4
votes
1 answer
Custom Authentication Package - Winlogon.exe exception after successful logon
I am developing credential provider with custom authentication package.
I have implemented LsaApLogonUserEx() as per msdn.
My AP function LsaApLogonUserEx() gets called during logon. CreateLogonsession() is successful but immediately winlogon…

HNR
- 101
- 1
- 4
4
votes
1 answer
How Custom Authentication Works in MongoDB Stitch
Following MongoDB Custom Authentication, it is given that any JWT Token with the minimal below fields works with the MongoDB Stitch Authentication. Also, token needs to be issued by External Authentication System
{
"aud": ""
…

Hary
- 5,690
- 7
- 42
- 79
4
votes
1 answer
ASP.NET MVC claims-based users with "external" authentication
Background
Our web applications use external authentication, in a sense that users' usernames/passwords aren't validated locally, but are being validated "outside" the web app in a central, single-sign-on type website. The authentication proof (and…

Jiveman
- 1,022
- 1
- 13
- 30
4
votes
2 answers
Why does default authentication backend of django calls set_password after raising UserModel.DoesNotExist exception?
I am writing a custom auth backend for a custom user model inherited from AbstractUser in django. I have gone through default auth backend of django and saw that user object is fetched using username with…

cutteeth
- 2,148
- 3
- 25
- 45
4
votes
1 answer
Completely disable Forms authentication in ASP.NET
How to completely disable Forms authentication in ASP.NET application and replace it with the custom authentication module?
I set authentication mode as None in web.config
and attached my own authentication module
…

Mr. Pumpkin
- 6,212
- 6
- 44
- 60
3
votes
0 answers
Keycloak addUser inside custom Authenticator getting error
Here is my not finished source that will do some "checks" then addUser if not exist,
Currently I'm testing simply adding new user here is my writings
public void authenticate(AuthenticationFlowContext context) {
KeycloakSession session =…

Sultan Zhumatayev
- 535
- 1
- 9
- 18
3
votes
1 answer
Amplify CUSTOM_AUTH along with username/password is failing with NotAuthorizedException
I am trying to do a username/password login with custom email OTP using CUSTOM_AUTH (amplify js library from a vuejs application)
I have set authenticationFlowType to CUSTOM_AUTH
Below are the steps -
Auth.signIn(username, password)
This executes…

e21
- 44
- 1
- 5
3
votes
0 answers
ASP Web API custom authentication. Always getting a 401 Unauthorized response
I am trying to implement an authentication/authorization process which when user signs in, generates a JWT and places it in a cookie (while implementing I was mainly using this article - thought it's for .NET Core and I am using .NET 4.6:…

Tanya
- 31
- 1
3
votes
0 answers
How to add custom authentication logic to the Kong Plugin
How do I integrate custom authentication service to Kong API Gateway, which redirects the call to different endpoint based on header or parameter validations and once authenticated should generate a token in the API Gateway. Is this possible in Kong…

Ali
- 253
- 4
- 13
3
votes
1 answer
How to get metadata out of AWS Cognito JWT to use it for the MongoDB Stitch Metadata Fields?
I am using AWS Cognito as the custom authentication for my MongoDB Stitch app. I can successfully retrieve the JWT from AWS Cognito and login to MongoDB Stitch. I would like to store attributes in the JWT. I need help on how to get the JWT path to…

user10447655
- 180
- 2
- 10