Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [authentication]

Authentication is the act of one entity proving its identity to another entity. Common examples involve public key cryptography. For example, proving that a banking web site actually belongs to the bank you think it does.

0
votes
0answers
6 views

SSO with AWS Cognito

I'm trying to work out what the best plan of attack would be to get SSO functionality while continuing to use AWS Cognito. I've come up with a solution that works, but I'm curious if anything has any ...
0
votes
1answer
38 views

Onion Architecture, Project Architecting and Authentication

I am learning ASP.NET MVC & Web API and trying to implement Onion Architecture with Repository Pattern for one of my Test projects as part of my learning. I have developed single MVC Projects ...
-2
votes
0answers
24 views

is Client Routing Authentication Secure? like in angular?

Please refer following link if question is not explainable as an example. https://medium.com/@ryanchenkie_40935/angular-authentication-using-route-guards-bf7a4ca13ae3 As in single page application ...
-1
votes
1answer
24 views

sp mvc codefirst multiple type users, registration and login [closed]

I am new with ASP MVC In my Application I have multiple type of users 1- Admins 2- teachers 3- students 4- parents Each one has different fields like admins (name,email,username,password)...
0
votes
0answers
26 views

Subscription based offline desktop apps - how they authenticate users?

I'm having a problem understanding how subscription-based offline desktop apps work. Those are my questions that I couldn't find answers to: What method of authentication do they use? Is it token or ...
-4
votes
0answers
39 views

Firebase authentication in .Net Core

I am creating .net core DDD solution with web api and node.js front-end. How do you implement Firebase authentication and user management in .Net Core 2.0? I am using JWT Token but wondering what ...
1
vote
1answer
50 views

Help with definition of broad user types

I am trying to define the boundary between two broad types of users. The first are those who make use of corporate systems (accounting, ERP, CRM, etc.) and this also includes B2B users, for example ...
0
votes
2answers
52 views

Managing sign-on in mobile applications

I'm programming a mobile app which makes use of REST services. Some of the services are for logged users, so I have a login endpoint which lets me enter my credentials and get a JWT token for ...
5
votes
1answer
242 views

How can I obtain a CA certificate for my application if I do not own a business/company?

I have developed an application which I intend to sell. I set up a website with information and download links, advertising, payments, everything is ready to go - except the digital signature. I want ...
0
votes
2answers
57 views

Microservice authentication between services

Is there a way to ensure that serviceA is called only by serviceB(or a set of whitelisted services)? All the services are independent and do not go through a service gateway as they are completely ...
2
votes
0answers
30 views

Should an SPA use OIDC's Implicit flow or Auth Code flow?

We are developing a new Angular SPA which leverages Keycloak for its SSO abilities using OpenID Connect (OIDC). The app is currently designed to use the Implicit flow to retrieve short-lived access ...
0
votes
1answer
36 views

How would you design the abstraction/class(es)/component(s) of a third-party service/api used in your application?

Lets say you were designing a Twitter client for people with people could see tweets and post tweets? How would you design the twitter api abstraction? Many of the api wrappers I've seen feature an ...
-2
votes
1answer
40 views

Should API also authenticate users from front end app?

I am building an API using Laravel and am looking at using Laravel/Passport for authentication - but I am struggling with a design decision. The API will be consumed by multiple other applications / ...
0
votes
1answer
53 views

Is changing the domain according to the user privilege on specific fields considered as anti-pattern?

Is changing the domain according to the user privilege on specific fields considered as anti-pattern? My case: I have Schedule Entity (aggregate root) like this: public class Schedule : Entity<...
-2
votes
1answer
77 views

How to migrate an existing ASP.NET MVC site to ASP.NET MVC Core - specifically on authorization

I am in the process of upgrading an existing website to ASP.NET Core 2.1. The goal is simplification and ease of maintenance. Existing site is using: EF and .NET 4.6.2 A [Users] table in SQL Server ...
0
votes
0answers
35 views

microservice authentication/ authorization: system token vs user token

I'm building a microservice architecture where basically each service represents a resource and each action on those resources are accessed control and secured by a UserToken (JWT) generated by a ...
0
votes
0answers
47 views

Is there a standard for transmitting credentials using two-factor-authentication?

Wie are currently developing a portal solution. In this portal solution we integrate an authentication service which manages authenticated users. Additionally we integrate another application (...
0
votes
1answer
84 views

API Design - User Management

I work for an ecommerce site and we are looking to expose much of our core functionality via a set of APIs. We plan on re-writing some of our own public facing websites (e.g. the main shop website) to ...
1
vote
1answer
47 views

Should I separate the REST sessions from the sessions in the rest of the application?

Assuming I have resources I restrict access to with a username + password login in my web application and in my REST API. Should I keep different sessions for both meaning that a login via the web UI ...
1
vote
2answers
358 views

Stateful authentication in REST API using tokens

I have recently started on a project involving a REST API. The API requires authentication with requirements for administrators to be able to view logged in users and to be able to revoke specific ...
0
votes
1answer
38 views

LDAP with Dovecot

I have a mail server setup with Postfix and Dovecot, and an application server setup with node.js. I have user credentials stored in my application server, and I want to use the same credentials for ...
0
votes
1answer
56 views

What is Federated , Certified Authentication?

I was completing an infosec report and came across this. Does the APP support end-user authentication? Federated, Certified, other? I wanted to have some clarification on the terms. From what I ...
0
votes
1answer
175 views

How should I manage user session in CLI application?

I'm developing a CLI based application. It has a "login" command to perform authentication: $ myapp login $ Type username: hector $ Type password: ***** $ Login success! Internally, myapp login ...
3
votes
1answer
757 views

Should access permissions and roles be included in payload of JWT?

Should information about the permissions and roles of the client be included in JWT? Having such information in JWT token will be very helpful as everytime a valid token comes, it would be easier to ...
0
votes
0answers
72 views

API Authentication with JWT by reference

We are in the process of rewriting our API and would like to have some advices. Requirements: Authentication will be done from various clients (mobile app, browser extension, single page app) ...
2
votes
1answer
79 views

Is it a good idea to reload the page every few failed login attempt?

I was reading about bruteforce login attack and one of the solution to prevent users from trying too many passwords in short amount of time is to add exponential delay for every failed login. But ...
0
votes
1answer
112 views

API design for multi-tenant web app - how to identify users from another system?

I have a multi-tenant web application that allows authenticated users to make changes to their application instance - making comments as an example. I'd like to build an API that allows a user of any ...
1
vote
2answers
149 views

token authentication security best practice

So I'm trying a few token based authentication in Laravel, each user have token they can use to access certain database. But there is something I still don't understand from these tutorial. The ...
3
votes
2answers
305 views

Token based vs session based authentication in back-end

I'm trying to build an application by creating an RESTful API(Koa.js) to communicate with clients(Web with React and Mobile with Ionic). But I'm facing issues when dealing with authentication. So my ...
0
votes
2answers
724 views

Ways to authenticate and redirect with decoupled front-end web application

I have a coupled web application (frontend and api backend served from the same application). It's worked well for our needs but I've been curious about the differences that would go into having a ...
0
votes
0answers
22 views

Should client initiate a session for a third party application server?

I want a third party JavaScript application which has its own back-end to be authenticated with my application server. The application is initiated using a JavaScript API where I can send my ...
0
votes
0answers
38 views

OAuth2 authorization and storing users to custom storage

My question is relating to securing API with Google OAuth2 authorization and multiple clients. But I also want to store users to my own storage so I can have additional info about them. So when the ...
1
vote
1answer
75 views

Showing confidential to a customer info without having him to create an account: GET or POST approach?

There's a website where a person should pay to get some service/product. After a person has made a reservation/product by paid for it, I want to allow him to track the progress without having to or ...
1
vote
1answer
80 views

Authorization and Domain Model

I have an enterprise system that is represented by a domain model, part of the requirement that the system should limit access to some of the features based on privileges of the logged in user. ...
-1
votes
1answer
108 views

How to delegate the refresh token renewal in a SOA

So, we've got SOA on the backend (BE) and on the frontend (FE) we've got micro-frontends (the separate micro-frontends are loaded as components into the frontend app when needed, so internal process ...
2
votes
1answer
297 views

Designing authentication and authorisation micro service

Background: There are three different applications A, B and C and they all share same user details but I had to implement authentication in each of them which was duplication of effort. After some ...
0
votes
0answers
30 views

Building multiple unrelated services website but one central user system so I don't have to recreate an authentication system

I have ideas for multiple applications that I would like to create over the next couple years. I do not want to have to make a new authentication system for each website/application. I do not want ...
0
votes
1answer
67 views

Login to application based on profile created on another application

I have a "difficult" problem that i am not sure how should i approach it. Basically i have a mobile app, that has a server side (in Go) and the appropriate base (PSSQL). User can register via the ...
0
votes
0answers
696 views

Should I separate my authentication service and my user service?

I'm following a microservices architecture and using JWT for authorization and authentication. I have a User service that includes some details about users, and I was considering including ...
-2
votes
1answer
111 views

Are user generated PW's a thing of the past for most apps?

I'm making a online game where I need to preserve some things for the players so each will have an account. However, I don't want to get into the business of storing user created passwords since that'...
2
votes
1answer
1k views

Microservice Architecture - using Auth Server as a User Resource server

I'm designing an application based on microservices architecture, In this application I will need Auth microservice, Also I will need to store some extra User information such as, perhaps, multiple ...
2
votes
2answers
99 views

How can I authenticate/approve a user and still maintain anonymity in a web application?

This is a systems architecture question. I'm in the process of planning an online platform that will collect people's medical information. Because of the extremely sensitive nature of the data being ...
0
votes
2answers
152 views

When to check if the user is logged in?

I have an app with an optional login where some functionality requires the user to login. When checking if the user is logged in I use a framework that runs an async function that requests an access ...
6
votes
2answers
287 views

How do you handle JWT expiration for long running calls?

Currently we are debating over securing our multiple micro-services. The major concern is that the JWT token provided to us will expire before the call is finished. (This is in the synchronous design) ...
1
vote
1answer
339 views

Storing an id of a shopping cart in a cookie for unauthenticated user

I want to implement the "shopping cart" feature on my website. Both anonymous/unauthenticated and authenticated can have it. While it's clear how to implement it for an authenticated user, it's not ...
0
votes
2answers
574 views

Integrate Web API Services with multiple authentication services

In a multi-tenant deployment of Web application, How can the Asp.Net Core Web API services be designed to work with different authorization services? The Web applications use OAuth and JWT Bearer ...
0
votes
0answers
24 views

Front end application design, split Auth and Account to diffrent modules

I'm currently a part of a team that rewrites an entire application using Angular5, RXjS and state management. our biggest struggle at the moment is to figure out if we should split the Account and the ...
0
votes
2answers
90 views

Is there a valid alternative to HTTP headers for sending auth credentials

I have built simple auth for REST servers in academic projects. I always used the headers to pass the credentials. This is probably just because every tutorial I've ever seen did it this way. ...
-1
votes
1answer
64 views

Does Policy-Based authentication remove refactoring security?

I understand Role Based Security. I have read about Policy Based. I have read what others call Activity Based. What I want to know is if I do Policy-Based, am I avoiding what Role-Based requires and ...
2
votes
2answers
159 views

How to debug in visual studio 2015 when your web app. need to login via another web app?

My web app (under development) need to login via http://devWebServer/ExtApp/login.aspx After login via address above, it will pass cookie to http://devWebServer/myApp/Login/Default.aspx and continue ...