chore(authenticate): remove deprecated authenticate:login and credentials field (#1534)

* chore(authenticate): remove deprecated authenticate:login

* Update changelog
This commit is contained in:
Louis Ruch authored and GitHub committed 2021-09-17 18:23:24 -07:00
1 parent 7c32d25dd8
commit 6000f20ae5
17 files changed
+267 -971

No files matched your search

@@ -34,7 +34,7 @@ func TestAuthenticate(t *testing.T) {
// Also ensure that, for now, using "credentials" still works, as well as no command.
reqBody := map[string]interface{}{
"credentials": map[string]interface{}{"login_name": "user", "password": "passpass"},
"attributes": map[string]interface{}{"login_name": "user", "password": "passpass"},
}
req, err := client.NewRequest(tc.Context(), "POST", fmt.Sprintf("auth-methods/%s:authenticate", tc.Server().DevPasswordAuthMethodId), reqBody)
require.NoError(err)