# /userinfo/

## OAuth User Info Endpoint

The OAuth User Info endpoint is used to fetch wallets that were shared by a user.&#x20;

### HTTP Request

`POST https://www.vulcan.xyz/oauth/userinfo/`

### Request Parameters

To obtain an access token, you need to provide the following parameters in the request body:

* `client_id`: The public identifier for your application, obtained during your application's registration.
* `client_secret`: The secret key for your application, which you received when you registered your application. This should not be shared or exposed publicly.
* `access_token`: The one-time use access\_token you received from the /token endpoint

### Request Example

Here is an example of what your request might look like using `curl`:

```bash
curl -X POST https://www.vulcan.xyz/oauth/token/ \
     -d 'client_id=your_client_id' \
     -d 'client_secret=your_client_secret' \
     -d 'access_token=access_token_received'
```

Replace `your_client_id`, `your_client_secret`, and `access_token_received` with your actual `client_id`, `client_secret`, and the `access_token` received from the [/token](https://premint.gitbook.io/vulcan/products/login-with-vulcan/token) endpoint.

### Responses

**Success Response**

If your request is successful, you will receive the following success response:&#x20;

```
{
  "wallets": ["0x11111", "0x22222"]
}
```

**Error Responses**

```markdown
400: Missing/Invalid access_token
401: Missing client_id or client_secret.
403: Invalid client_secret.
```

..and thats it! Your user has now logged into your application with Discord, and you have a list of wallets they wanted to share. All without any signatures, Powered by Vulcan.
