Commit Graph

64 Commits

Author SHA1 Message Date
Zimo
481b9d6459 Update members iFrame style 2018-12-04 19:33:21 +01:00
Zimo
0c8af4fa64 Update members auth iFrame style 2018-12-04 19:24:03 +01:00
Fabien O'Carroll
cb5592d853 Updated member layers (#23)
* Corrected the event handling of layer0

* Updated layer1 to use layer0

* Updated dropin script to read blogUrl from window;
2018-12-04 09:24:04 +05:30
Fabien O'Carroll
399219b6ea Members layer0 (#22)
* Created initial layer0 sdk

* Updated layer1 to use layer0

* Updated layer2 to accept and pass blogUrl to layer1

* Updated theme-dropin to pass blogUrl to layer2

* Updated yarn.lock
2018-11-23 15:43:16 +07:00
Rishabh Garg
56bbc14d43 Created drop-in script module for ghost themes (#19)
* Added WIP drop-in script for prototype

* Cleaned up theme dropping script module

- Updated layer2 to work with reload as an option, as well as sign-in cta on the page

* Handle cat failure

* Updated SDK data attires

* Used commonjs exports

* Used browserify for the build
2018-11-15 14:36:51 +07:00
Fabien O'Carroll
dacd58c768 Update packages/members/layer2/index.js 2018-11-14 17:36:26 +05:30
Fabien O'Carroll
52759bceb1 Updated layer2 to inline with drop in solution 2018-11-14 17:36:26 +05:30
Fabien O'Carroll
37e8d5b670 Updated README for members layer2 SDK 2018-11-14 15:12:59 +07:00
Fabien O'Carroll
51a5e53c06 Updated layer2 drop in script to set/unset cookies (#17)
* Updated layer2 drop in script to set/unset cookies

* Use ES5 and remove transforms
2018-11-14 15:09:29 +07:00
Fabien O'Carroll
7fdbd57667 Fixed logout for members layer1
no-issue

LocalStorage converts items to strings so "null" was being stored.
2018-11-14 12:06:46 +07:00
Fabien O'Carroll
d4f8fc89a3 Created initial layer2 for Members SDK
closes #9
2018-11-14 08:47:17 +05:30
Fabien O'Carroll
d201b62f73 Fixed jwt sign method call
no-issue
2018-11-13 15:23:36 +05:30
Rish
7366f6bf4c Updated members layer1 to handle create/destroy/get jwt token
closes #11

- Uses signed jwt with NONE algorithm
- Token stored in localStorage
2018-11-12 13:59:59 +07:00
Rish
32ee16a081 Created members-layer1 sdk base structure
closes #8
2018-11-09 13:24:16 +05:30