max / goingson
1 file changed,
+1 insertion,
-1 deletion
| @@ -202,7 +202,7 @@ pub async fn sync_complete_auth( | |||
| 202 | 202 | }.ok_or_else(|| ApiError::bad_request("Invalid or expired OAuth state token"))?; | |
| 203 | 203 | ||
| 204 | 204 | let (user_id, app_id) = client | |
| 205 | - | .authenticate_with_code(&input.code, &flow.code_verifier, flow.port) | |
| 205 | + | .authenticate_with_code(&input.code, &flow.code_verifier, flow.port, "__internal__") | |
| 206 | 206 | .await | |
| 207 | 207 | .map_api_err("Token exchange failed", ApiError::external_service)?; | |
| 208 | 208 |