Better Auth in Rust
OpenAPI Reference

Device Authorization

Device authorization endpoints from the v1 compatibility surface.

device code

POST
/device/code

Response Body

curl -X POST "https://loading/device/code"
Empty

device token

POST
/device/token

Response Body

curl -X POST "https://loading/device/token"
Empty

device verify

GET
/device

Response Body

curl -X GET "https://loading/device"
Empty

device approve

POST
/device/approve

Response Body

curl -X POST "https://loading/device/approve"
Empty

device deny

POST
/device/deny

Response Body

curl -X POST "https://loading/device/deny"
Empty