Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Auth with token not cookies?

hi
how to make frappe login with username and password give back a token not cookies …
then you use this token to access data … if you use get_current user method in frappe it will tell what user … also the scope of access is what you see when you are using tokens

1 Like

Have you tried Frappe’s OAuth implementation?

https://frappe.io/docs/user/en/guides/integration/how_to_setup_oauth

https://frappe.io/docs/user/en/guides/integration/using_oauth

yes but when i want to use , it doesn’t cover the case
GET http://frappe.local:8000/api/method/frappe.auth.get_logged_user

How did you solve this?

@Khadija check this
https://frappe.erpnext.com/docs/user/en/guides/integration/rest_api/token_based_authentication

What procedure you followed for logout?

guys, can any one help me with that . i can`t find the specific file i have to override