Questions tagged [custom-authentication]

176 questions
3
votes
0 answers

In AWS Api gateway custom authorizer, how to add custom headers to the input request based on validation on headers and send to backend

In AWS API gateway, I am using custom lambda authorizer to validate request headers. I need to update the existing headers or add new ones based on the validation result. Below is the lambda authorizer logic in java, validation works as expected.…
3
votes
2 answers

right way to have role based custom auth query database on every request asp.net mvc

This may be a slightly ignorant question but Im new to mvc so Im sorry! I studied the nerd dinner auth model but In my app I have a complicated role based authentication. So What I do is this: void MvcApplication_PostAuthenticateRequest(object…
3
votes
1 answer

Azure MobileApp custom authentication, refresh token

I need my app to support custom authentication against our private database, and following the advices on Adrian Hall book here https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter2/custom/ I got no problem authenticating…
3
votes
0 answers

Laravel 5.2 Custom Auth fail after next request

I write a custom user provider to validate my user in a external API on external server. CustomUserProvider:
3
votes
3 answers

Looking for a comprehensive guide to setting up custom authentication backends in Django, or pointers

I'm trying to set up a custom backend that queries another database, for which I have created a model in the system. It uses its own rules (email instead of username, and a differently salted/hashed password) so I can't use built in authentication.…
Jordan Reiter
  • 20,467
  • 11
  • 95
  • 161
3
votes
1 answer

Analysis services custom authentication

I have made a web application to a company that provides users to input all invoices their company have paid. The company has departments in all cities and users can only see the data related to their cities. Now I designed an OLAP cube to provide…
facot
  • 221
  • 3
  • 7
  • 12
2
votes
2 answers

MVC3 Loosly coupled authentication

Out of the box MVC3 applications allow Windows Authentication when using the Intranet project template, or the Forms Authentication for an Internet project template. I've got a site that I'd like to use either. In addition, I've got an existing…
2
votes
0 answers

Way to verify username and password of user in aws cognito using adminInitiateAuth() method

Requirement: Below code is having 2 functions. 1st verify the username and password of user and if it is true it trigger OTP in SMS(Default behavior of AWS as 2 factor authentication is enabled). But we do not want OTP in SMS. We want OTP in Email…
2
votes
1 answer

Blazor Web Assembly with Azure AAD and Custom authentication

I want to implement two authentication mechanism in my Blazor web assembly application (Azure AD and Custom Authentication). i.e. User can either login via Azure AD or he can go for Custom Authentication. When I register both Custom…
2
votes
2 answers

Multiple custom-authorizers in aws api-gateway

Is it possible to use multiple custom-authorizers in API-gateway? Or how do other do this?
2
votes
3 answers

Change the default Laravel authentificaton email field to user_email

Laravel error when I change the email field from database to user_email Illuminate\Database\QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'email' in 'where clause' (SQL: select * from ns_users where email =…
2
votes
0 answers

How to create custom ACL functionality in Django 2.x?

I want to create custom ACl functionality in Django2.x Acl project structure below: C->Company R->Role (superuser, admin, manager etc.) U->User C1->r1,r2,r3->u1,u2,u3,u4,u5 C2->r1,r2,r3->u6,u7,u8,u9,u10 C3->r1,r2,r3->u11,u12,u13,u15,u15 How can i…
2
votes
0 answers

oAuth2 SSO without Cookie

We're having a native iOS and Android app that has a custom login form to authenticate a user directly via an authentication endpoint of an oAuth2 enabled indentity provider (the app sends the user credentials via HTTP request to the identity…
2
votes
1 answer

AWS api gateway custom authorizer: access context variable in mapping template

I have implemented a custom authorization module in AWS API Gateway using python. Basically it might return something like this: access = { "principalId": "yyyyyyyy", "policyDocument" : { "Version": "2012-10-17", "Statement":…
2
votes
2 answers

Active directory custom authentication

I had created a sub-authentication package for Windows-7 login. It worked successfully for local account logins. I then tried to implement same sub-authentication package for active directory in Windows server 2008 r2. I placed my DLLs in…
1 2
3
11 12