Last active
August 29, 2015 14:02
-
-
Save acapps/1dcff62673966ae4436d to your computer and use it in GitHub Desktop.
Zipwhip supports deeplinking into our portals. The deep link logic works on pages that are hosted within the Zipwhip domain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deeplink, single sign on, into a Zipwhip Webapp. | |
GET /session/v2/deeplink?session=[sessionKey]&url=[http://subdomain.zipwhip.com] HTTP/1.1 | |
HOST: api.zipwhip.com | |
sessionKey is obtained by performing a user/login | |
url is the link to the webapp. NOTE: AT THIS TIME THE URL MUST BE A SUBDOMAIN OF ZIPWHIP | |
Webcall supports HTTPS. | |
@RequestMapping(value = "/v2/deeplink", method = RequestMethod.GET) | |
@ResponseBody | |
public MvcModel<?> deeplink(HttpServletRequest request, HttpServletResponse response, | |
@RequestParam(value = "url", required = false) String url, | |
@RequestParam(value = "destination", required = false) String destination, | |
@RequestParam(value = "errorDestination", required = false, defaultValue = DEFAULT_ERROR_DEEPLINK) String errorDestination, | |
@RequestParam(value = "session", required = true) String sessionKey, | |
@RequestParam(value = "domain", required = false) String domain, | |
@RequestParam(value = "deeplink", required = false, defaultValue = "false") boolean deeplink |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment