# Implementing session authentication in gradio

**URL:** <https://discuss.huggingface.co/t/implementing-session-authentication-in-gradio/31902>\
**Category:** 🔒 Gradio\
**Created:** [February 17, 2023, 10:53am UTC](https://discuss.huggingface.co/t/implementing-session-authentication-in-gradio/31902 "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](https://discuss.huggingface.co/u/ayushlevel)\
**Post date:** [February 17, 2023, 10:53am UTC](https://discuss.huggingface.co/t/implementing-session-authentication-in-gradio/31902/1 "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.
