HTTP FORM Authentication Model
- Last Updated: March 16, 2023
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The HTTP FORM authentication model provides user session support when the client uses application defined URL resources for login/logout operations. The client supplies the user’s identification assertions (such as user-id/password) in a POST request’s body and receives session information in the POST response’s headers. For each subsequent HTTP request, the session information received as part of the login operation is passed as HTTP header information.
Applying SSO to this authentication model involves obtaining the native OpenEdge SSO token created and stored as part of the user login process, and passing that SSO token to other web applications that are configured to accept it.
Client request
|
Server response
|
refresh_token may be blank, indicating that the
access_token may not be refreshed.HTTP Status Codes
- 200 indicates successful server response.
-
400 indicates an SSO token generation failure
Content-Type: application/json;charset=UTF-8 Cache-Control: no-store Pragma: no-cache “error_description” : “error-desc } token-error-code -
401 indicates user authentication failure for data services
WWW-Authenticate : http-form realm info -
500 indicates an internal server failure.