Hello! Are there any known issues related to trust...
# ask-a-descoper
j
Hello! Are there any known issues related to trusted device functionality? I'm implementing a flow that uses the trusted device feature (if device is trusted -> skip MFA) and I can see that there is no way to mark device as trusted (I can click the button to trust the device and it succeeds but next time I log in I still end up in untrusted flow). I tried to replicate in to a minimal example using the built in template
Adaptive MFA with trusted device
and I get the same result (MFA is always triggered even when I already marked my device as trusted).
m
@Rahul Rijhwani can you follow up here ?
j
Any update here?
m
Sorry , looping @Chris Carper here
c
@Jakub Kubisiowski
I can see that there is no way to mark device as trusted
are you using the mark device as trusted action in the flow? The template you reference does have that action in it, but I'm curious if you have maybe cleaned up any of that flow. However, I just tested in our explorer environment with that OOTB flow, and I'm seeing the same behavior you are. @Bhagyesh Parna @Prashasth Baliga @Nick Rodriguez, can you take this and review why this may be occurring?
j
Hey @Chris Carper, yes I'm using the
mark device as trusted
action (of course!). So if you are able to replicate it on your end - can you start some investigation? We would like to put this functionality live in next 10 days but obviously it's a blocker
Hello, any update here? ☝️
c
Can you confirm your chrome version? Firefox is working for us, as well as safari. One of us is on chrome 140 and it works, but it doesn't work for those of us on 141; we just want to make sure which version you're on.
j
sure! my version:
n
Have you tried running the flow in other browsers? This seems like it may be an issue isolated to newer versions of Chrome. I am opening an internal issue for this, but just wanted to confirm that it’s only happening in Chrome v141+.
j
I was able to replicate the issue on Edge as well @Nick Rodriguez
Also Firefox is not working properly (version 127)
Hello! Is there any work going on to get it working soon?
n
Hi Jakub, We have opened an issue and are currently working on this. There is a bug with the 'Mark as Trusted Device' action. I will let you know as soon as the issue is resolved.
m
looping in @Bar Saar here
j
Thank you for the confirmation @Nick Rodriguez. Waiting for the information when it's resolved!
Hello @Nick Rodriguez I'd like to receive an update how it's going with
Mark as Trusted Device
feature. Is it already resolved?
n
Hi Jakub, Let me check on this, and I will get back to you with an update shortly.
👍 1
Hey Jakub, After looking into the issue, it is still a work in progress, although: • If you proceed with a CNAME + cookie-based setup, the issue will be resolved. • We do have an open issue that only affects setups without a CNAME that rely on the response body. In that path, our backend/SDKs don’t currently translate the response into localStorage when required. We’re actively working on this.
j
Hey @Nick Rodriguez thank you for the response. 1. We don't plan to migrate to CNAME and cookie based setup 2. Looks like we need to wait until this issues is fully resolved
Hello @Nick Rodriguez, do we have any update on the issue above ☝️ Would trusted device work in a non cookie-based setup?
n
Hi @Jakub Kubisiowski let me check on that for you. Will update you shortly.
j
Sure, thank you. Waiting 👍
n
Hey @Jakub Kubisiowski I spoke with engineering, and this is still a work in progress. We should have a solution soon, but I don’t have an exact ETA as of right now. Will keep you posted when this is resolved.
👍 1
j
@Nick Rodriguez I want to ask one more question related to you previous reply:
Copy code
After looking into the issue, it is still a work in progress, although:
• If you proceed with a CNAME + cookie-based setup, the issue will be resolved.
Let's say we decide to proceed with CNAME + cookie-based setup. In such case we expect that trusted device feature would work. Will it work on mobile device as well or only on web?
n
Are you using browser-based flows or native flows for mobile? Generally, if you proceed with the CNAME + cookie-based setup, the trusted device feature should work on both web and mobile as long as the cookies are properly set and the flows/SDKs are configured to use your custom domain.
j
We use no-code flows for both web and mobile. On the client side we render descope component (using SDK) and set the given
flowId
n
Got it. In this case, the trusted device functionality will work the same for mobile as it does for the web. Essentially: • The mobile app loads the hosted flow inside a web view. • Descope sets cookies on the custom domain used for the flow. • Those cookies are available to the web view in future sessions. As long as: • The CNAME + cookie-based setup is used • The mobile SDK is configured to use that custom domain as
baseUrl
Hi @Jakub Kubisiowski, just wanted to update you on this. We have resolved this issue, and the solution is now live. Please don't hesitate to let me know if you have any questions or concerns, and I will do my best to help you.