Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Developer
Posts: 11
Registered: ‎03-06-2013
My Device: Z10
My Carrier: Swisscom

JSON REST Webservice behind SSO Login

I currently have a JSON REST Webservice. However, before I can call that webservice the user must authenticate through a SSO Login initiated by the webserver. Upon launching the app, I'd like to check wheter the user is logged in (querying the webservice) if it's not succesful, the user will be shown the webform authentification page. Once the user loggs in he should she the main.sql. What would be the best way to approach this?