Commit graph

13 commits

Author SHA1 Message Date
José Valim
29c5cb1904 ZTA revamp
* Rename SessionIdentity to PassThrough and make it part of ZTA

* Compute the ID at the Plug level, rather than ZTA level and
  avoid storing it twice

* Stop the user "avatar" from flashing on initial render

* Do not duplicate identity data inside user data, rather keep
  them distinct
2024-04-13 10:29:22 +02:00
Milad
fa4addcb50
Fix invalid cookie naming - cookie names can't contain : (#2539)
Closes #2537

RFCs:
* http://tools.ietf.org/html/rfc6265#section-4.1.1
* http://tools.ietf.org/html/rfc2616#section-2.2
2024-04-02 15:25:08 +02:00
José Valim
6027a0bd70 Surface ZTA payload
Closes #2320.
2024-03-28 09:03:34 +01:00
José Valim
c9d0c05bcc
Custom identity providers (#2301) 2023-10-25 09:44:09 +02:00
José Valim
64dad900d7
Exclude modules from docs (#2218)
Closes #2216.
2023-09-21 12:28:45 +02:00
Alexandre de Souza
3ecc0b3653
Load secrets from Hub when deploying an App (#2098) 2023-07-26 17:39:33 -03:00
Cristine Guadelupe
29b712917e
ZTA - user identity (#2015)
* Get user identity

* Moves current_user_id to identity_data

* Renames cookies to session_identity

* Keep zta keys in the state

* User id from GoogleIap

* Update cloudflare.ex

* Update googleiap.ex

* Email only for ZTA

* Get the current_user_id from the identity_data

* Applying suggestions

* Applying suggestions

* Fix verify_token

---------

Co-authored-by: José Valim <jose.valim@gmail.com>
2023-06-29 23:10:00 +02:00
Cristine Guadelupe
efb28fbdf0
Support Zero Trust authentication (#1938)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-21 00:25:25 +02:00
Jonatan Kłosko
d0b4f16b19
Improve cookie access check (#1889) 2023-04-28 16:38:17 +02:00
Jonatan Kłosko
8eb93f3e24
Improve cookie access when running in iframe (#1888) 2023-04-28 14:50:40 +02:00
José Valim
f52ff1e9ec
Purge cookies once they exceed 24kB, closes #1832 (#1833) 2023-03-28 17:11:44 +02:00
Jonatan Kłosko
2b2d6c9d50
Show consistent user avatar on initial page load (#349) 2021-06-15 19:33:16 +02:00
Jonatan Kłosko
5c8e117800
Setup user profiles (#253)
* Add initial user config modal

* Assign user ids

* Update session data to hold user ids

* Get users list for specific ids

* Render user avatar

* User update

* Refactor user changes

* Subscribe to individual user updates

* Show users in side panel

* Add sidebar to homepage

* Don't generate the same color twice in a row

* Add documentation notes

* Fix tests

* Add tests

* Keep users in session data

* Rename color to hex_color
2021-05-03 20:03:19 +02:00