Benjamin Cassidy
12/18/2025, 6:24 PMhttpOnly cookies as is best practice and necessary to prevent XSS attacks?Benjamin Cassidy
12/18/2025, 6:31 PMBenjamin Cassidy
12/18/2025, 10:19 PMPrashasth Baliga
12/19/2025, 4:01 AMAtharva Joshi
12/19/2025, 5:20 AMAtharva Joshi
12/19/2025, 3:17 PMDebashish Bharali
12/23/2025, 9:30 AMAtharva Joshi
12/23/2025, 9:40 AMhttpOnly cookies, setting this can be done only in descope configuration (session management -> refresh/session token settings) https://docs.descope.com/security-best-practices/session-token-storage. this does not require any special configuration in the SDKAtharva Joshi
12/23/2025, 9:52 AMBenjamin Cassidy
01/02/2026, 11:10 PMhttpOnly tokens because that is best practice for web security. But when I enable this on the project, the mobile SDKs return an error because after completing the sign in flow it cannot get a token because tokens are managed in cookies. In order to support the mobile apps, I need to turn off httpOnly tokens.
You said the mobile SDKs support exchanging the access keys for a token. This means that we cannot use flows in the mobile apps then, correct? This is unfortunate because that is one of the value propositions of descope and helps enforce consistency across platforms.
cc: @Atharva Joshi @Debashish Bharali