DEV Community

Cover image for FastAPI + SAML on Keycloak
Aaron Gong for Zenika

Posted on • Edited on

7

FastAPI + SAML on Keycloak

TL:DR; a quick article to help FastAPI users get SAML working on their application.


Getting Started

The code and instructions are found at https://github.com/ais-one/fastapi-saml

  • Less than 100 lines of code
  • Only 4 dependencies to install
  • Requirements and setup are all documented

If there is a problem please raise an issue, so that documentation and code can be improved.


Summary

This may look like a very short article but to get this working took quite a lot of time and effort...

  • searching on Google and Stack-Overflow
  • choosing which library to use
  • digging into the library itself to find out what went wrong
  • many trial and error

Thank you and hope it is helpful to you.

Top comments (1)

Collapse
 
1n0t profile image
1N0T • Edited

Thank you for sharing the result of your research. I found it very useful

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay