Supabase Auth Handler to temporarily fix the Supab...
# help-and-questions
k
Hey fellow Python Supabase enjoyers (TLDR: skip to bottom for fix), I was tired with Supabase-py's poor documentation and getting a working solution for proper auth that doesn't break constantly so I made a custom class that should hopefully help solve these issues: https://github.com/supabase-community/supabase-py/issues/272 https://github.com/supabase-community/supabase-py/issues/185 https://github.com/supabase-community/supabase-py/issues/247 https://github.com/supabase-community/supabase-py/issues/440 I haven't added a workaround for https://github.com/supabase-community/supabase-py/issues/395, but if anyone would like to adapt it into the code on the gist you can see a workaround for it here: https://github.com/supabase-community/supabase-py/issues/399. This also won't solve the issue with redirect_to, as that is an issue with python gotrue's base64 encoding/decoding (https://github.com/supabase-community/gotrue-py/issues/246), but that should hopefully 🤞 get fixed soon since a fix was just merged to gotrue-py's main branch. __**TLDR: auth_handler function to Depend on https://gist.github.com/0xDeadcell/884fc080b9fd49a9721cffec09ef95c3**__