{"id":296,"date":"2015-12-02T23:40:38","date_gmt":"2015-12-03T04:40:38","guid":{"rendered":"http:\/\/www.carloswsmith.com\/blog\/?p=296"},"modified":"2015-12-02T23:40:38","modified_gmt":"2015-12-03T04:40:38","slug":"token-based-authentication-for-single-page-apps-spas-stormpath-user-identity-api","status":"publish","type":"post","link":"https:\/\/www.carloswsmith.com\/blog\/?p=296","title":{"rendered":"Token Based Authentication for Single Page Apps (SPAs) &#8211; Stormpath User Identity API"},"content":{"rendered":"<blockquote><p>An overview of Token Based Authentication for single page applications: JWTs, session cookies, and angularjs authentication strategies<\/p><\/blockquote>\n<p>Source: <em><a href=\"https:\/\/stormpath.com\/blog\/token-auth-spa\">Token Based Authentication for Single Page Apps (SPAs) &#8211; Stormpath User Identity API<\/a><\/em><\/p>\n<p>See also:\u00a0http:\/\/madhatted.com\/2014\/6\/17\/authentication-for-single-page-apps<\/p>\n<p>http:\/\/www.jamesward.com\/2013\/05\/13\/securing-single-page-apps-and-rest-services<\/p>\n<p>http:\/\/brewhouse.io\/blog\/2014\/12\/09\/authentication-made-simple-in-single-page-angularjs-applications.html (Angular)<\/p>\n<p>http:\/\/security.stackexchange.com\/questions\/67343\/secure-rest-api-and-single-page-app-by-using-external-oauth-2-authorization-code<\/p>\n<p>http:\/\/programmers.stackexchange.com\/questions\/194859\/security-in-authentication-in-single-page-apps<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An overview of Token Based Authentication for single page applications: JWTs, session cookies, and angularjs authentication strategies Source: Token Based Authentication for Single Page Apps (SPAs) &#8211; Stormpath User Identity API See also:\u00a0http:\/\/madhatted.com\/2014\/6\/17\/authentication-for-single-page-apps http:\/\/www.jamesward.com\/2013\/05\/13\/securing-single-page-apps-and-rest-services http:\/\/brewhouse.io\/blog\/2014\/12\/09\/authentication-made-simple-in-single-page-angularjs-applications.html (Angular) http:\/\/security.stackexchange.com\/questions\/67343\/secure-rest-api-and-single-page-app-by-using-external-oauth-2-authorization-code http:\/\/programmers.stackexchange.com\/questions\/194859\/security-in-authentication-in-single-page-apps<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1,11],"tags":[],"class_list":["post-296","post","type-post","status-publish","format-standard","hentry","category-javascript","category-uncategorized","category-web-dev-html"],"_links":{"self":[{"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=296"}],"version-history":[{"count":1,"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/296\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/296\/revisions\/297"}],"wp:attachment":[{"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.carloswsmith.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}