widgetti/solara

Oauth2, FastAPI, and Solara

Open

#157 geöffnet am 17. Juni 2023

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (188 Forks)github user discovery
buggood first issue

Repository-Metriken

Stars
 (2.163 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide