i am trying to set up some kind of saml sso. For that purpose i need to have the credentials in order to perform a login on the identity provider. Now i am wondering if there is a way to access the username and password which is stored in the blackberry work app. My App is running inside of the blackberry container which already contains this information. Since my app is running inside of the container, maybe i can access there informations?
BlackBerry Dynamics does provide a mechanism to obtain the email address the user used to activate your BlackBerry Dynamics application. You can do so by retrieveing the application configuration as shown here: https://developer.blackberry.com/devzone/files/blackberry-dynamics/cordova/GDApplication.html That should allow you to get their username, which is typically the same as their email address.
It is not possible to obtain password information from BlackBerry Work.
BlackBerry Dynamics does provide a SSO mechanism using access tokens. You can read about it using the links below.