Highlights of version 2501.1.0.0
Enhancements/Modifications
With this release of the Aptean eSignature extension, the following updates have been introduced to improve authentication handling and maintainability:
- Updates to eSignatureMgt173FDW codeunit
- Replaced direct authentication logic with calls to the new eSignatureOAuthMicrosoft173FDW codeunit.
- Standardized error messaging with labels: AuthFailureErr, AuthFailureNoHTTPStatusErr.
- Delegated token acquisition and validation to a dedicated OAuth codeunit for improved maintainability.
- Additions to eSignatureOAuthMicrosoft173FDW codeunit
- Implemented the GetOAuthToken procedure to acquire access tokens using the OAuth 2.0 authorization flow.
- Added ValidateUserSignIn to enforce Multi-Factor Authentication (MFA) claims validation during login.
- Introduced error handling for token request failures using the following error labels:
- DidNotUseMfaErr
- AccessTokenNotInResponseErr
- FailedGetAccessTokenErr
- FailedToSendRequestErr
- Standardized redirect URL retrieval logic by combining default URL handling with setup configuration.