Get related document by Secret

Hi,

I’m implementing new FQL and I need to access the user document with “secret”
I used to use “KeyFromSecret” to access the document.

Is there anyway to access the document by secret with the new FQL?

Hi @hasimyerlikaya

We don’t have plans to implement KeyFromSecret in FQL v10. The v10 authentication features are more robust and have more utility. For instance, you can determine the identity of the authenticated user/entity with Query.identity() and you can get the token associated with with authenticated query with Query.token. More details are available in our documentation Query - Fauna Docs