Questions tagged [authentication]
Authentication is the process of determining whether someone or something is, in fact, who or what it is declared to be.
392 questions
3
votes
1
answer
95
views
Validate Microsoft Entra JWT
I am implementing SSO in my application via Microsoft Entra. It has a client application with Cloud APIs.
The Client passes an Entra JWT to the server obtained from the MS Entra libraries. My database ...
3
votes
1
answer
54
views
Wordpress custom registration form with additional fields
I work on plugin for custom auth pages for WordPress and I try to create a custom registration form with additional fields. it has a shortcode in Beaver Builder. Is this the correct approach, and ...
3
votes
1
answer
109
views
.net api implementing oauth 2.0
I am trying to implement Oauth in my .net API with EntityFramework. I already completed the custom local authentication with JWT tokens and refresh tokens. I got a little bit confused as to how I ...
4
votes
1
answer
91
views
Abstraction Layers and Best Practices in Authentication with EF Core
Do you recommend adding a layer of abstraction on top of EF Core for example we have an API controller responsible for authentication do I just call EF Core methods directly in the controller or do I ...
1
vote
0
answers
69
views
Nostr OAuth 2 authentication using Fastapi
I liked the idea of being able to authenticate using your own private key using Nostr protocol. The idea is based on events, so you prove your identity by signing an event.
It's close to Wallet ...
8
votes
2
answers
934
views
JavaFX app with User Authentication and SQL Persistence
This JavaFX program is just supposed to allow a user to register a username and password and then have it stored in an SQL database.
There's been some criticism that it's not clean, readable or ...
0
votes
0
answers
47
views
Custom ASP.NET Core CookieAuthenticationHandler
I wrote a CustomCookieAuthenticationHandler because I don't like the way CookieAuthenticationHandler.HandleForbiddenAsync() ...
5
votes
2
answers
422
views
Springboot - Authentication Service
I am developing a Web application using Spring boot (I am a beginner). How can I make my code better?
This code is from "AuthenticationService.java".
I first made an interface for defining ...
3
votes
1
answer
107
views
Type-state pattern and state management for credentials struct used with Spotify web API
I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code ...
1
vote
1
answer
100
views
Kotlin Compose authentication with Google and Facebook using a CircularProgressIndicator for UI loading
I had this problem: https://stackoverflow.com/questions/78528358/how-to-prevent-circularprogressindicator-from-freezing-during-authentication-in
Now after fixing it, I want to make sure that this is ...
3
votes
1
answer
112
views
Django Google Authentication App using OAuthLib and DRF
Context
I've been working on a Django-based Google Authentication application, designed to manage OAuth authentication without relying on libraries such as ...
2
votes
2
answers
121
views
Simple authentication server
Here's a simple authentication server. It's pretty basic but has the core functionality of sign-up and log-in handling. Your best bet is to simply run the ...
4
votes
2
answers
248
views
A Python terminal
This is the code for Pylect, a Python terminal I worked on a while ago which also caused my Desktop to get destroyed because of bad code. I use it infrequently but I would like a review for the code ...
0
votes
1
answer
105
views
logging in using cookie authentication/authorization in asp.net C#
How safe is Cookie based Authentication/Authorization in ASP.NET C#? Take a look at the example below, don't worry about password hashing, All this code does is that it takes a username and a password ...
2
votes
1
answer
91
views
Session-based authentication using Express.js
I'm currently learning Express.js and I wrote this authentication code. I'm unsure if what i have is correct, how to improve it and if it's secure. For user and session data storage I'm using ...