[OneSignal Plugin] Register device at server side

[OneSignal Plugin] Register device at server side

  
Forge Component
(8)
Published on 27 Sep (3 weeks ago) by OutSystems R&D
8 votes
Published on 27 Sep (3 weeks ago) by OutSystems R&D

Hi All, 


I was wondering if I register a device in server side, because we are using ADFS login so we don't use the login action in login screen anymore, so the right place/event to register a device with OneSignal will be on the server side. 

Since we can't use the plugin in server side as I see, So is their another way to do it? 


any help will be appreciated. 

Best Regards,

Mohamed AlMokadem.

Solution

Hello Mohamed the best place in my opinion is OnApplicationReady, but remember that you need to see what register client action you will call, because some of them call server action inside.

Solution

Alexandre Costa wrote:

Hello Mohamed the best place in my opinion is OnApplicationReady, but remember that you need to see what register client action you will call, because some of them call server action inside.

Hi Alexandre,

I agree with you, but my case here that I use ADFS organizational authorization while all the login process happen in the Idp module at server side. 

Here comes the question how to register the device on server side 


Cheers,