Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

I'm trying to protect the client side in my Next.js app using a custom session with better-auth, but the role property not appear inside the session object , but when I display session.user.role` it ...
MGDev's user avatar
  • 1
Best practices
0 votes
0 replies
79 views

https://docs.nestjs.com/security/authorization Good morning guys. According to NestJS documentation, I can create policies that will be then used per endpoint or so. My only doubt is that the policies ...
Fábio Gonçalves's user avatar
Advice
1 vote
0 replies
47 views

I’m working on a multi-tenant SaaS application where different organizations can create and manage business plans and financial forecasts. Each organization has multiple users with different roles (e....
Upmetrics's user avatar
0 votes
0 answers
47 views

I've been wrestling with this for quite a while now. I have a working blazor (auto - hybrid) project called CustomerPortal and it created a CustomerPortal.Client for me as well. I created a 2 razor ...
Thierry Verhaegen's user avatar
Best practices
0 votes
0 replies
51 views

In many distributed systems, user authorization is treated as sufficient proof of intent. Examples: Clicking “Approve” Signing digitally Submitting a confirmation request Triggering a smart contract ...
Benjamin Campopiano's user avatar
Best practices
0 votes
2 replies
63 views

Whats the best approach for rendering HTML on the client after passing authorisation and authentication? Below is my current code but I'm a bit stuck on where to go next, as I don't want to implement ...
Gruppr's user avatar
  • 61
Advice
0 votes
1 replies
80 views

I lack experience with system design, and I’m struggling to understand how all the pieces fit together. I’d appreciate some help seeing the “big picture.” I’m building a web application with a ...
David Martínez Gil's user avatar
Best practices
1 vote
1 replies
19 views

I’m implementing server-side route gating in a Next.js (v16+) App Router application where a user must complete a required step (e.g. identity verification or compliance flow) before accessing ...
Benjamin Campopiano's user avatar
2 votes
1 answer
86 views

I’m building a Next.js application where users must complete a required step (for example, identity verification or a comprehension step) before being allowed to access certain protected routes. The ...
Benjamin Campopiano's user avatar
0 votes
2 answers
73 views

A dynamic banner is placed on the page of the published post (the banner is taken from the database). Under an authorized user, it loads normally, but if I go to the URL without authorization, it ...
mogilka's user avatar
  • 143
Best practices
0 votes
0 replies
20 views

I’m building a music streaming platform (like Spotify) as a study project and I’m working on authen/author mechanism. Can I have some advices on what kind of authen/author I should use for the ...
John Smith's user avatar
1 vote
1 answer
80 views

I was following the Advent of Agent and was building the multi-agent app with Firecrawl. When I am using this line FIRECRAWL_API_KEY: "${FIRECRAWL_API_KEY}" inside the research_agent.yaml ...
Sudipta Deb's user avatar
0 votes
2 answers
88 views

My goal is to restrict access for authenticated users to the /login and /register routes My Pinia Storage user.js contains user info and computed boolean property isAuthorized, when I am trying to use ...
dmytroshved's user avatar
0 votes
0 answers
100 views

I am having problems understanding how to get .NET 8.0 session and authorization working together. Most of my controllers are decorated with the Authorize attribute, and I am accessing session ...
user517406's user avatar
  • 13.8k
Advice
3 votes
1 replies
94 views

I am writing a forum-like API and I want to protect private information from unauthorized users. Depending on the role of client that makes a request to GET /posts/:id I redact information such as the ...
glassyellow0902's user avatar

15 30 50 per page
1
2 3 4 5
701