View the Sample Mobile Application Log

The iOS sample application logs the information about authenticating a user.

The sample application log shows the following steps in the user authentication process.

Call the embedded Safari browser:

Do Login
Setup completed
EmbeddedSafari Challenge
2018-10-25 19:17:28.413504+0530 IDCSSample[98996:3799683] [MC] System group container for systemgroup.com.apple.configurationprofiles path is [your_device_folder]/systemgroup.com.apple.configurationprofiles
2018-10-25 19:17:28.417190+0530 IDCSSample[98996:3799683] [MC] Reading from private effective user settings.
2018-10-25 19:17:28.633253+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:17:28.701507+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
initialLoadDidRedirectTo
didCompleteInitialLoad
2018-10-25 19:17:50.825763+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:18:55.577926+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
didCloseSafriView

Retrieve the Oracle Identity Cloud Service information:

Do back channel request to get token
Authentication sucesses Optional(Username : (null)
Auth mode : Remote logoutmode: NO)
get My Apps
get my groups
get user info
(
    "<IDCSSample.Groups: 0x6000002cc9b0>",
		"<IDCSSample.Groups: 0x6000002ce070>"
)
[{
    primary = 0;
    secondary = 0;
    type = recovery;
    value = "john.doe@example.com";
    verified = 1;
}, {
    primary = 1;
    secondary = 0;
    type = work;
    value = "john.doe@example.com";
    verified = 1;
}]

(
)
logout started

Sign-out the user from Oracle Identity Cloud Service:

do logout
didReceiveLogoutAuthenticationChallenge
2018-10-25 19:19:16.632816+0530 IDCSSample[98996:3799683] Presenting view controllers on detached view controllers is discouraged <IDCSSample.LoginViewController: 0x7f814f60a8a0>.
2018-10-25 19:19:16.872932+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:19:16.879929+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
didCompleteInitialLoad
didCloseSafriView
Do back channel request to get token
logout sucesses with error nil
2018-10-25 19:19:21.309043+0530 IDCSSample[98996:3799683] oauth
completed Setup
EmbeddedSafari Challenge
2018-10-25 19:19:22.608563+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:19:22.608957+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
initialLoadDidRedirectTo
didCompleteInitialLoad