# Implementing session authentication in gradio

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimplementing-session-authentication-in-gradio%2F31902%3E%5C
**Category:** 🔒 Gradio\
**Created:** [February 17, 2023, 10:53am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimplementing-session-authentication-in-gradio%2F31902 "2023-02-17T10:53:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayushlevel](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@ayushlevel](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fayushlevel)%5C
**Post date:** [February 17, 2023, 10:53am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimplementing-session-authentication-in-gradio%2F31902%2F1 "2023-02-17T10:53:48Z")

</div>

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.
