Use auth first. Fastapi example using form. fastapi oauth2passwordrequestform format scheme.