widgetti/solara

Oauth2, FastAPI, and Solara

Open

#157 建立於 2023年6月17日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Python (188 fork)github user discovery
buggood first issue

倉庫指標

Star
 (2,163 star)
PR 合併指標
 (PR 指標待抓取)

描述

I did my best to search the docs, but I wasn't able to find an answer.

I want to implement Solara into a FastAPI application.

I also want to use Auth0 in the Solara application.

I admittedly not super knowledgeable about auth.

I tried following the docs on Auth0, and I cannot seem to get it to work. I suspect it is because the get_login_url is effectively hard coding the login URL. This means that if I mount Solara to a different path, then the auth endpoint seems like it might not work.

Is this correct? Is there a better workaround for this?

Also, love the project. I have built APIs in the past, and I have always thought a good Python frontend framework was lacking. I was considering using Anvil, but I hate using anything that isn't open source and free to use. Keep up the good work.

貢獻者指南