ionic-frameworkibm-mobilefirstmobilefirst-cli

not register ionic application on mobilefirst to use


In mobile first tutorial,
one step is mfpdev app register

Question is what is the use of the registration
as I develop an ionic project and can connect to mobile first without registration when Cordova web resources Previewed with the Mobile Browser Simulator using MobileFirst command mfpdev app preview

mobile first 8
ionic 3


Solution

  • Thanks for @manjunath kallannavar for all the supports

    Unrestricted right (without login) to both protected and unprotected resources lead me to confidential client.

    As pre https://youtu.be/DlxZYxXszIw?t=15m40s, the author mentions user is as confidential client when using mfpdev app preview.
    However, this is not documented in IBM reference. (Please quote if you find one)

    Also, by using ionic cordova run android in emulator, finally challenge received.

    Conclusion, with mfpdev app preview, user right = confidential client => can access all resources


    Credit to @manjunath kallannavar

    Official explanation: MobileFirst Development Server includes a confidential client "test" that has an unlimited allowed scope ("*"). By default mfpdev app preview uses this confidential client.