-
Notifications
You must be signed in to change notification settings - Fork 0
API Usage
AlignedCookie88 edited this page May 15, 2024
·
1 revision
Sending the user to the login page is as simple as redirecting them to https://dfauth.alignedcookie88.com/auth?redirect=<your-login-endpoint>. Your login endpoint should accept the token argument.
Send a get request to https://dfauth.alignedcookie88.com/api/get_token/<token>, it returns a JSON response similar to this:
{
"username": "AlignedCookie88",
"uuid": "5cbca632-07d4-4490-ae4d-813c21a8a7f1",
"ip": "XX.XX.XX.XX"
}