Implementing session authentication in gradio

I am trying to find a way to implement session authentication in my gradio app. I tried to use token authentication, setting expiry time by overriding the /login path. Nothing is changing in the way authentication is taking place.
If someone has implemented token authentication with expiry / used 3rd party authentication URL - that will be great help.

1 Like