Is there a way to get a AccessToken to be used is a Sharepoint service by directly sending the username/password. Is there a grant_type other than code, where you do not have to be redirected to the Sharepoint login page?
This is more for a Server to Server type scenerio where the usernamame/password is known. We will be accessing sharepoint for not one but multiple sharepoint accounts for different companies.
The Problem I am trying to overcome is with refresh tokens as they are not refreshed without user intervention.Is there a way to refresh "refresh tokens".
Thanks
Atul