Auth
token(execution_id=None, form_data=Depends())
async
Execute login
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
execution_id |
str
|
Session identifier |
None
|
form_data |
OAuth2PasswordRequestFormMUA
|
Defaults to Depends(). |
Depends()
|
Raises:
| Type | Description |
|---|---|
HTTPException
|
|
status_code
|
HTTP_401_UNAUTHORIZED |
detail
|
Incorrect username or password | Incorrect organization id |
Returns:
| Name | Type | Description |
|---|---|---|
access_token |
string
|
The access token |
refresh_token |
string
|
The refresh token |