I assume you guys have a /auth API, this can set a cookie [1] just has
easily as UUF. And all your other APIs can read the cookie.


[1]
http://stackoverflow.com/questions/3340797/can-an-ajax-response-set-a-cookie

On Mon, Feb 6, 2017 at 12:06 PM, Manuranga Perera <[email protected]> wrote:

> So you guys don't want to use UUF for its backend rending, just as a
> static server and want to do a frontend app, that's cool. But then properly
> write a frontend app. Seems like you guys don't know how to write a SPA and
> running back to bankend app logic.
>
> If your UUF UI don't have any data (just templates) then there why do you
> need to cookie protect them. You need a custom auth mechanism for your
> microservices where half of the value is picked from the cookies, this has
> nothing to do with protecting UI.
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to