Is it bad practice to exclusively use phone numbers for both the sign-up and login process?

I am creating an app. Users need to both login and sign-up. I want to simplify the form for this process as much as possible. This got me thinking. Instead of doing the traditional email, confirm email, password, and confirm password setup… Continue reading Is it bad practice to exclusively use phone numbers for both the sign-up and login process?

User being redirected to Private IP Address instead of staying on the domain/subdomain [closed]

I have an issue where I am using SAML (Sustainsys.Saml2 library) and Username + Password through Auth0. Both these authentication methods are currently not working right because after the user is sent to the SAML/Auth0 authorization pages,… Continue reading User being redirected to Private IP Address instead of staying on the domain/subdomain [closed]

In a system architecture, to what extent an admin user should have access to consumer resources?

Let’s say I’m building a system, similar to a very simple ecommerce.
Users can sign up as consumer and start buying products.
Purchases are then stored in the database together with the order status, shipping info, etc.
Now, in order to ma… Continue reading In a system architecture, to what extent an admin user should have access to consumer resources?

Is there a problem to store user permissions in the database instead of in a external auth service?

In AWS Cognito we could define a role/permissions as a custom attribute in the user pool, but we could have a User table and a caching database and fetch roles each time the user does a request.
Of course, the first approach avoids an unne… Continue reading Is there a problem to store user permissions in the database instead of in a external auth service?