I created custom OAuth provider. Now I have problem with Office integration. When user want to edit document, Word asks for username and password. Is it possible to customize Word login page, because user can login only with sensenet account, but not with custom provider user?
The real issue is that Word (when opening a document through webdav) expects a username/password authentication, while sensenet doesn't store passwords in this case, because the OAuth provider feature relies on a 3rd party service (e.g. Google or Facebook) to authenticate users, that is its purpose.
IMHO it is not possible to customize the Word login process, although that would be the best for users: they should use the same GUI and authentication method than on the portal (e.g. press a Facebook button) - but currently that is not possible to my knowledge.
As a workaround you can say that those users who want to work with Office documents need to provide a password. Because users registered through an OAuth provider are really the same as regular users, there is no difference - except we do not save a password for them, because they log in through Google for example. But if you give a password to a user that registered through a provider, they should be able to log in from Word (and on the portal's built-in login page too) using their username and password. We did not try or test this scenario though, this is just a quick guess as of now.