Vulcan
  • Getting Started
    • Welcome to Vulcan
    • Configure Vulcan Bot
    • Vulcan compared to other Token-Gating Services
      • Transitioning from Collab.Land to Vulcan
    • Add or Remove Wallet
    • Account Limits
    • FAQ
  • Products
    • Verify Roles
      • NFT
        • Channel Setup
        • NFT Contract
        • Opensea Collection
        • Specific Token ID(s)
        • Trait-Based
        • Quantity
        • Staking
      • ERC-20
        • Channel Setup
      • Custom Webhook
        • Channel Setup
      • Friendtech Keys
      • Protected Users
    • Community Management
      • Members
      • Onboarding
      • Captcha
      • Support Tickets
      • The Vulcan Feed
    • Bots
      • PREMINT Bot
        • Configuring the bot
        • Interacting with the bot
      • Trade Bot
      • Sales Bot
        • Channel Setup
        • NFT Contract
        • OpenSea Collection
        • Specific Token ID(s)
      • Art Bot
      • Floor Bot
      • Giveaway Bot
    • Login with Vulcan
      • Overview
      • /login/
      • /token/
      • /userinfo/
    • Tezos Verification (Beta)
  • Extra
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  • OAuth User Info Endpoint
  • HTTP Request
  • Request Parameters
  • Request Example
  • Responses
  1. Products
  2. Login with Vulcan

/userinfo/

OAuth User Info Endpoint

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

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:

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'

Responses

Success Response

If your request is successful, you will receive the following success response:

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

Error Responses

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.

Previous/token/NextTezos Verification (Beta)

Last updated 1 year ago

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 endpoint.

/token