---
title: "Changes to Complete login/consent for an authorization request"
method: POST
path: "/oauth2/login"
---

# Changes to Complete login/consent for an authorization request

`POST /oauth2/login`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 20 revisions.

- **2026-06-24** `0fc5fd589dbf`: 1 warning
- **2026-04-20** `b39086c84b43`: 1 warning, 1 info
- **2026-02-19** `50e643cc3991`: 1 info
- **2025-10-10** `2bb5c4e40463`: 1 breaking

## Changes

- **2026-06-24** `0fc5fd589dbf`: 1 warning
  - added the new `otp-too-many-attempts` enum value to the `error` response property for the response status `default`
- **2026-04-20** `b39086c84b43`: 1 warning, 1 info
  - added the new `user-already-exists` enum value to the `error` response property for the response status `default`
  - removed the `email-already-in-use` enum value from the `error` response property for the response status `default`
- **2026-02-19** `50e643cc3991`: 1 info
  - endpoint added
- **2025-10-10** `2bb5c4e40463`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/nhost/apis/nhost-authentication-api/docs/oauth2/login/post.md) - [API](https://skmtc.dev/nhost/apis/nhost-authentication-api.md) - [Page](https://skmtc.dev/nhost/apis/nhost-authentication-api/changes/oauth2/login/post)
