# DirectAuth

When you login with your OAuth account, a proof of the authentication (id token) is sent to the Torus Network. Each node in the BFT network then verifies the proof and replies with a share (Shamir's Secret Sharing), allowing the private key to be reconstructed on the client-side. The operating members of the blockchain agnostic Torus Network selected are trusted and proven ecosystem and industry stakeholders.

![](https://lh6.googleusercontent.com/g9TYnh8sZWZZbnEFlsFMiSArIoHDs55Y7iWISSVphBULKQlxeUUje3A2I9hLtD-fR_BGvSsPgx5XrU_BC8JFWo5bt2Ct-6qsSeaGtK6u7SH08-SABpJoahf7uX0nayMoJ3RF1Q70)

Keys are generated using distributed key generation and tied to an OAuth login. The only way to access your private keys are through your OAuth provider. Therefore, make sure to keep your account safe with a strong password and look over your recovery options. For Google accounts you can also enable 2FA for an extra layer of security for your wallet.

### Learn more

{% embed url="<https://directauth.io>" %}

{% embed url="<https://medium.com/toruslabs/what-distributed-key-generation-is-866adc79620>" %}

{% embed url="<https://medium.com/toruslabs/key-assignments-resolution-and-retrieval-afb984500612>" %}

{% embed url="<https://docs.tor.us/customauth/what-is-customauth>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kukai.app/learn-kukai/direct-auth.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
