I am working a project that has both a first party mobile app and single page web app. I want to use OAuth 2 for authentication, but am wondering whether or not it is advisable to allow for these public first party clients to use this grant type considering that they cannot protect their client credentials.
Ideally I do not want to push mobile users to an external browser or web app users to a separate web page for authentication with an authorization code grant type.
Can I make the password grant type work with these client types or should I explore an alternative to OAuth for first party applications?