Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

431
Views
PostgreSQL authentication and authorization using Keycloak and FastAPI

I have developed a code using Python and SQLAlchemy to read, insert and query data from a Postgresql database.

I have also seen how to get access tokens, create roles, create clients and assign roles to users in Keycloak using FastAPI end points.

My question is how do I authorize users to use the database and giving only select roles. For example allow a user only to query data, or another user to only add data.

I'm kinda stuck and unable to see how I can get this done in Keycloak and authorize users for database operation roles.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!