If the desired resource requires a user owner or user signer, make sure to request the user
key before signing requests with it.
- NodeJS
- NodeJS (server-auth)
- Java
- Go, Python, Rust, Vanilla TS
- React, Expo
Privy’s NodeJS SDK both:
- automatically signs requests with a private key you provide and includes the signature in request headers when you invoke methods on the Privy client, enabling a more managed integration.
- exports lower-level utility functions for generating signatures, for more custom and complex setups such as distributed key quorums.
- Automatic signing
- Utility functions
You can set the authorization context to use an authorization key, by using Wallet requests on the wallets can now be made by passing in this newly created
authorization context on the call to the
authorization_private_keys
.PrivyClient
.Example: Sign a message with the wallet