Which Oauth2 flow do I need for my situation?

Hello, I am building a app with Ionic where I want users to login using their username and password. I am also using Azure Active Directory. In the MS docs about oauth2 and Azure Active Directory ( https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-scenarios#web-application-to-web-api ) there are 5 scenarios described:

  • Web Browser to Web Application

  • Singe Page Application

  • Native Application to Web API

  • Web Application to Web API

  • Daemon or Server Application to Web API

Now, in my case I have the following:

  1. My Ionic3 app

  2. A Spring Boot RESTfull server (my custon non public API)

  3. Azure Active Directory

Which scenario would I need for my situation?