dummyidp/src
Ulysse Carion 162dd87fc1
lib/saml: fix base64 encoding of SAML assertions for users with non-ASCII names (#16)
This PR fixes `encodeAssertion` to use btoa correctly for SAML
assertions that contain non-ASCII.

Messages are first manually encoded into UTF-8, and the resulting data
is coerced into a JS string that btoa will correctly encode. That
intermediary string isn't entirely meaningful -- JS strings are UTF-16,
not UTF-8 -- but I think this "hack" of sorts is tolerable given how
fleeting its use is.
2025-01-13 14:50:34 -08:00
..
app Move UI pages for app and login into pages router (#12) 2024-10-29 15:02:10 -07:00
components Move UI pages for app and login into pages router (#12) 2024-10-29 15:02:10 -07:00
lib lib/saml: fix base64 encoding of SAML assertions for users with non-ASCII names (#16) 2025-01-13 14:50:34 -08:00
pages Fix redirect / metadata url, <title> (#13) 2024-10-31 15:18:30 -07:00
wordmark.svg Move to Next.js (#2) 2024-10-03 09:57:43 -07:00