fastapi-saml
fastapi-saml copied to clipboard
Getting FastAPI to work with SAML2
I was able to fetch SAMLResponse from Identity provider but not able to set cookie in session store to get into home page of frontend. frontend: localhost:3000 backend: localhost:8000 can...
brew install libxml2 libxmlsec1 pkg-config
For Ubuntu (20.04 LTS), you need the following additional packages: ``` pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl ``` ie: `apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl` Otherwise, you will not be able to...
If you use request.client.host you'll get the ip of the server if you're running in docker and it will fail requests. Its probably better to use request.url.hostname unless you think...
Hi, i am trying to run @app.post("/test") async def test(request: Request, p1: Optional[str] = Form(None), p2: Optional[str] = Form(None)): req = await prepare_from_fastapi_request(request) return req but the req is not...
thanks for sharing! I will try this out