Social

Social account integration endpoints

Check Akifast Account Existence

post

Checks if a user has an existing Akifast account using their UID.

Business Logic:

  • Verifies if the provided UID exists in the SocialAccount records for the 'akifast' provider.

Header parameters
X-CSRFTokenstringRequired

CSRF token for write operations (POST, PUT, PATCH, DELETE). Required for security when using session authentication. Obtain token from cookie 'csrftoken' or meta tag in HTML.

Example: abc123def456ghi789
CookiestringRequired

Session ID and CSRF token cookies. Format: sessionid=<id>; osessionid=<id>; csrftoken=<token>

Example: sessionid=abc123def456; osessionid=abc123def456; csrftoken=xyz789
Body
uidstringRequired

The unique identifier for the Akifast social account. Validated against existing social accounts.

Responses
chevron-right
200

Account exists

No content

post
/social/has-akifast/

No content

Social Signup Form

get

Renders the social signup form.

Note: This endpoint returns HTML content for the signup page.

Authorizations
sessionidstringRequired
Responses
chevron-right
200

HTML Signup Form

text/html
Responsestring
get
/social/signup/
200

HTML Signup Form

Complete Social Signup

post

Completes the signup process for a social account.

Business Logic:

  • Handles the form submission for social account registration.

  • Creates the user account and links the social account.

Authorizations
sessionidstringRequired
Header parameters
X-CSRFTokenstringRequired

CSRF token for write operations (POST, PUT, PATCH, DELETE). Required for security when using session authentication. Obtain token from cookie 'csrftoken' or meta tag in HTML.

Example: abc123def456ghi789
CookiestringRequired

Session ID and CSRF token cookies. Format: sessionid=<id>; osessionid=<id>; csrftoken=<token>

Example: sessionid=abc123def456; osessionid=abc123def456; csrftoken=xyz789
Body
emailstring · emailOptional
usernamestringOptional
Responses
chevron-right
200

Successful signup (Ajax)

application/json
post
/social/signup/

Last updated

Was this helpful?