MobileCloudService Push Notification Using Anonymous User (Doc ID 2298998.1)

Last updated on AUGUST 28, 2017

Applies to:

Mobile Application Framework - Version 2.4.0 and later
Mobile Cloud Service - Version 17.2.5 and later
Information in this document applies to any platform.

Goal

MCS APIs are being used to send push notifications to iOS and Android Devices.

To send a notification using the API [/mobile/system/notifications/notifications] it is required to authenticate the caller as required by MCS ("Sending Notifications Using the Notifications API").
Reference:
https://docs.oracle.com/en/cloud/paas/mobile-cloud/mcsua/notifications.html#GUID-9D0D9D74-BA73-4BE3-8845-CD2502D9D9F5

The users can be created in MCS, but their passwords expire in 90 days.
In order to successfully send a push notification it is required to pass the name and password
for a team member with the MobileEnvironment_Notification role, encoded in Base64.

How to create a user whose password does not expire ?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms