# Python Login Auth0 without app secret key

**URL:** <https://community.auth0.com/t/python-login-auth0-without-app-secret-key/96546>\
**Category:** JWT.io\
**Tags:** login, auth0\
**Created:** [December 15, 2022, 3:52pm UTC](https://community.auth0.com/t/python-login-auth0-without-app-secret-key/96546 "2022-12-15T15:52:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldibello](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ldibello/32/22011_2.png) [@ldibello](https://community.auth0.com/u/ldibello)\
**Post date:** [December 15, 2022, 3:52pm UTC](https://community.auth0.com/t/python-login-auth0-without-app-secret-key/96546/1 "2022-12-15T15:52:50Z")

</div>

Hi, is there a way to put login form using python but without app.secret.key, because I got another kind of token different that what I get using react.  
In react just need 3 evs. no client secret, but in python ask me for client secret and an app secret key also to validate de token.

Regards

Leandro

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [December 15, 2022, 10:22pm UTC](https://community.auth0.com/t/python-login-auth0-without-app-secret-key/96546/3 "2022-12-15T22:22:19Z")

</div>

Hi there @ldibello!

> [@ldibello](#):
>
> In react just need 3 evs. no client secret, but in python ask me for client secret and an app secret key also to validate de token.

Unfortunately, this is just a requirement of the the Flask framework and is used for session management due to the fact that [auth0-python](https://github.com/auth0/auth0-python) does not provide any such functionality. You may be interested in our example using [Django](https://auth0.com/docs/quickstart/webapp/django/interactive) - While it does still require a client secret it does not require an app secret the way Flask does.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 29, 2022, 10:22pm UTC](https://community.auth0.com/t/python-login-auth0-without-app-secret-key/96546/4 "2022-12-29T22:22:45Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
