How to get password as plain text in erpnext

i want to do sso so i want to make authenticate with user name only then i check if user as account on my erp or not. if he has account then i open my erp in new open.but in erpnext authenticate must send username and password. so i think to get password from __Auth then send it to authenticate function . but do not work . can any one help!

Most web apps store passwords in a non-retrievable way.

We use one-way hash, so there’s no way for you to get password in plain text. This is how it should be… reason: plain text password leaks - Google Search

You can instead use “login with frappe” feature

https://frappeframework.com/docs/v14/user/en/guides/integration/openid_connect_and_frappe_social_login

thanks for your replay