hey @vishnu_2920
Instead of trying to log in using a username and password, try logging into the SharePoint using the secret key and client id.
Here is a video i've used in the past to guide me through the steps of how to set that up if you're not familiar - the first ~10min should be all you need to complete the setup.
How To Test SharePoint Online REST API Using Postman - YouTube
Hope this helps!