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.

贡献者指南