# User Authentication

It is often required to connect the user's wallet to your application in order to display other parts of the platform or fetch the state for the given user's wallet address.

With the SDK, you don't have to take care of integrating wallet support inside your project.

Simply obtain the SDK instance as explained in [Broken mention](broken://pages/q6IhQCjblvu1bF0ovRgu) section and run following:

{% embed url="<https://codesandbox.io/embed/confident-snow-st5mwn?fontsize=14&hidenavigation=1&theme=dark&view=editor>" %}
Authorization code
{% endembed %}

{% embed url="<https://codesandbox.io/embed/confident-snow-st5mwn?fontsize=14&hidenavigation=1&theme=dark&view=preview>" %}
Authorization example
{% endembed %}

This will return the User object with the wallet address he has connected with. The User returned by our framework has also **proved to own the address** he had connected with.

A full list of the allowed options to configure before an authorization request is generated is explained in the [authorization options docs](/welcome-to-dev3/sdk/user-authentication/options.md).

### Live example

Run this flow on a live coding environment [here!](https://codesandbox.io/s/dev3-sdk-wallet-authorization-vjgokb?file=/src/index.js)


---

# 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.dev3.sh/welcome-to-dev3/sdk/user-authentication.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.
