Questions tagged [custom-authentication]
176 questions
2
votes
2 answers
Asp.Net MVC Custom Authorization Not Working
I'm working on a MVC project. I want to use custom authorization attribute. First of all I used an example in this blog post.
public class CustomAuthorizeAttribute : AuthorizeAttribute
{
public string RolesConfigKey { get; set; }
protected…
user5126784
2
votes
2 answers
Django REST custom authentication
Here's my issue guys. I have a store user that can log to his site and view all kinds of data related to his store. In his store he has, let's say 10 android billing devices that send bills to him. Now I need to create a custom authentication in…

Ray Tango
- 107
- 9
2
votes
0 answers
Losing Cookies and Session Variables during AuthorizeCore
I'm currently working on getting a test environment stood up (it is currently called DEV) and am experiencing some weird issues.
When you first come to the site, we have an agreement page. Hitting the "I Agree" button will force the user through an…

IyaTaisho
- 863
- 19
- 42
2
votes
1 answer
Custom django auth backend not logging the user with base login view
I am writing a custom django auth backend that sends a post request with just the username and password info to a server, the server replying with some data about the user if the login/password couple is correct (403 response otherwise)
The code…

Kirogo
- 35
- 1
- 4
2
votes
1 answer
A first chance exception of type 'System.NullReferenceException' occurred in Unknown Module- mvc custom authentication
I've been searching and trying to resolve the issue I'm encountering right now.I've a user model and I want to authenticate an user using custom authentication.I'm not seeing any errors while submitting the form.But I can see the exception in the…

sujay raj
- 89
- 11
2
votes
2 answers
Django Rest Framework Custom authentication + Basic Auth
I am using the Django Rest Framework in my Python-Django app, and am using a Custom authentication for the api.
If I work just with my custom authentication method, works correctly.
@authentication_classes((CustomAuthentication, ))
But If I try…

david cerezal
- 23
- 1
- 4
2
votes
1 answer
Oracle Apex Custom Authentication Error - 'MY_AUTHENTICATION' IS NOT A PROCEDURE
Excuse my naivety but I've been fighting this issue for a few hours now with no progress and I'm lost as to what I'm missing. I'm quite new to Oracle and still getting to grips with a lot of the custom functionality.
I'm trying to write a function…

JohnP-2879
- 23
- 1
- 3
2
votes
1 answer
Spring security Custom hash algorithm
I have a Spring Project that has been authenticated using Spring Security.
Spring Security code snippet :

Probal Basak
- 92
- 4
- 12
1
vote
1 answer
Use CanCan Authorization along with Custom Authentication in Rails 3
I am new to Rails and have been developing an app in rails 3 after following a Lynda.com tutorial where Kevin Skoglund showed us a way to authenticate a user using SHA1 Digest. I used that in my app and there is a need now to put in some…

Prashanth
- 1,388
- 2
- 11
- 26
1
vote
1 answer
Amplify `authState` stays `unauthenticated` after successful login - need to force-refresh useAuthenticator authState [React]
I am using Amplify auth to handle authentication. However, after I do the Auth.signIn() and Auth.confirmSignIn() (for the user to enter the 6-digit code),
the value returned from the hook useAuthenticator for authStatus is 'unauthenticated' and for…

Filip Savic
- 2,737
- 1
- 29
- 34
1
vote
0 answers
Power Bi reporting server custom authentication iframe error
I set up my Power BI reporting server as per the custom authentication steps mentioned in the git repository
https://github.com/microsoft/Reporting-Services/tree/master/CustomSecuritySample
Now after setup, I created a few users and am willing to…

Arpit Sharma
- 138
- 1
- 11
1
vote
1 answer
How to configure KeyCloak with External User Provider so that it does not immediately call getUserByUsername method after addUser method
We are using KeyCloak for Identity and Access Management for our website. I have also implemented the UserStorageProvider interface for authenticating the user from an external user provider. Now, I am trying to implement the…

Awais Memon
- 56
- 4
1
vote
2 answers
Custom Windows Authentication Package not loaded
I'm writing a custom windows authentication package, but the LSA does not load my Dll.
I have the following methods exported via the .def file
EXTERN_C __declspec(dllexport) NTSTATUS NTAPI SpLsaModeInitialize(
ULONG LsaVersion,
PULONG…

Sency
- 2,818
- 8
- 42
- 59
1
vote
1 answer
Too many permissions in Permission based authorization cause cookie overflow
I have a custom authorization. it uses a store procedure to check if the user has access.
protected override Task HandleRequirementAsync(AuthorizationHandlerContext context, OptekRequirement requirement)
{
// Log as a warning so…

o i
- 23
- 4
1
vote
0 answers
AWS Amplify Auth.confirmSignIn cannot log out when entering the wrong verify code using custom flow
Amplify Framework Version: 2.1.0
Dependency manager: Swift PM
Swift version: 5.7
CLI version: 10.4.0
Xcode version: 14.1
I get the verify code and I find out I sign up the wrong email, In this case, I couldn't sign in again with the correct email…

Jessie
- 11
- 1