fastapi-saml icon indicating copy to clipboard operation
fastapi-saml copied to clipboard

Test method not working

Open Zezzzzz opened this issue 4 years ago • 1 comments

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 showing any attributes such as ID. Is there a way to handle this as this is not verifying if i am authorised.

Zezzzzz avatar Oct 28 '21 07:10 Zezzzzz

Sorry I just saw this for awhile. what is inside prepare_from_fastapi_request() ?

ais-one avatar Jan 25 '22 00:01 ais-one