Bit.Auth-r/TODO
2024-05-20 11:07:56 +05:00

26 lines
482 B
Plaintext

Forward user back when set `back_url`
Auth using tokens
Auth using uniq id on device
Auth using QR code
Auth using msg or popup
Auth using email
##### API v0
# Auth link (device check url with this session and get data)
/v0/auth?session=<UNIQUE>&back_url=<OPTIONAL>
# Get auth data
/v0/auth_finish?session=<UNIQUE>
##### API v1
# Auth link
/v1/auth?session=<UNIQUE>&back_url=<OPTIONAL>
# Get token
/v1/auth_finish?session=<UNIQUE>
# Refresh token
/v1/refresh?token=<REFRESH>