From: Bill Erickson Date: Wed, 16 Aug 2017 14:55:26 +0000 (-0400) Subject: LP#1710949 Release notes for auth.login X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f1f6489e89f7e40b5ba69b5c36367d17a376c82a;p=working%2FEvergreen.git LP#1710949 Release notes for auth.login Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton Signed-off-by: Mike Rylander --- diff --git a/docs/RELEASE_NOTES_NEXT/API/auth-login-api.adoc b/docs/RELEASE_NOTES_NEXT/API/auth-login-api.adoc new file mode 100644 index 0000000000..892cb9bf55 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/API/auth-login-api.adoc @@ -0,0 +1,38 @@ +New open-ils.auth.login API +^^^^^^^^^^^^^^^^^^^^^^^^^^^ +The open-ils.auth service has a new API for requesting an authentication +token. It performs the same steps as the +open-ils.auth.authenticate.init and .complete APIs in a single call, +using the bare password. No intermediate password hashing is required. + +The paramters are the same as the .complete call with a few modifications. + +1. Using the generic "identifier" parameter in combination with the + "org" parameter allows the API to reliably determine if an identifier + value is a username or barcode. The caller is no longer required to + make that determination up front. + +2. The 'nonce' parameter is no longer used. + +Upgrade Notes ++++++++++++++ + +The new open-ils.auth.login API must be added to the list of +API's in the opensrf_core.xml file. + +Sample diff: + +[code,sh] +--------------------------------------------------------------------- +--- a/Open-ILS/examples/opensrf_core.xml.example ++++ b/Open-ILS/examples/opensrf_core.xml.example +@@ -180,6 +180,7 @@ Example OpenSRF bootstrap configuration file for Evergreen + + open-ils.auth.authenticate.verify + open-ils.auth.authenticate.complete ++ open-ils.auth.login + open-ils.auth_proxy.login + open-ils.actor.patron.password_reset.commit + open-ils.actor.user.password +--------------------------------------------------------------------- +