prasenjitmass

Captain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-04
12:20
608 views
Formfill with Auto submit option get looping
Hi,
We are configuring an application for SSO with formfill method (AM 4.4) where there is not any additional script or function. only password which is encrypted using CryptoJS library with HMACSHA256 Encryption and a Secret passphrase in the request.
After configuration , without Auto submit on, AM redirect the user to application login page with username and password . If clicking submit button, get the home page of application. But if Auto submit option is on the request / page is looping.
Can anyone help in this regards?
We are configuring an application for SSO with formfill method (AM 4.4) where there is not any additional script or function. only password which is encrypted using CryptoJS library with HMACSHA256 Encryption and a Secret passphrase in the request.
After configuration , without Auto submit on, AM redirect the user to application login page with username and password . If clicking submit button, get the home page of application. But if Auto submit option is on the request / page is looping.
Can anyone help in this regards?
3 Replies


Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-05
07:51
On 04-06-2019 9:24 PM, prasenjitmass wrote:
>
> Hi,
> We are configuring an application for SSO with formfill method (AM 4.4)
> where there is not any additional script or function. only password
> which is encrypted using *CryptoJS library with HMACSHA256 Encryption*
> and a *Secret passphrase* in the request.
>
> After configuration , without Auto submit on, AM redirect the user to
> application login page with username and password . If clicking submit
> button, get the home page of application. But if Auto submit option is
> on the request / page is looping.
>
> Can anyone help in this regards?
>
>
So is NAM sending the right (encrypted) password? It doesn't sound like it. Are you sure there are no additional functions executed when the form is
submitted?
--
Cheers,
Edward
>
> Hi,
> We are configuring an application for SSO with formfill method (AM 4.4)
> where there is not any additional script or function. only password
> which is encrypted using *CryptoJS library with HMACSHA256 Encryption*
> and a *Secret passphrase* in the request.
>
> After configuration , without Auto submit on, AM redirect the user to
> application login page with username and password . If clicking submit
> button, get the home page of application. But if Auto submit option is
> on the request / page is looping.
>
> Can anyone help in this regards?
>
>
So is NAM sending the right (encrypted) password? It doesn't sound like it. Are you sure there are no additional functions executed when the form is
submitted?
--
Cheers,
Edward
Nihii

Commodore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-06
03:32
edmaa;2500546 wrote:
On 04-06-2019 9:24 PM, prasenjitmass wrote:
>
> Hi,
> We are configuring an application for SSO with formfill method (AM 4.4)
> where there is not any additional script or function. only password
> which is encrypted using *CryptoJS library with HMACSHA256 Encryption*
> and a *Secret passphrase* in the request.
>
> After configuration , without Auto submit on, AM redirect the user to
> application login page with username and password . If clicking submit
> button, get the home page of application. But if Auto submit option is
> on the request / page is looping.
>
> Can anyone help in this regards?
>
>
So is NAM sending the right (encrypted) password? It doesn't sound like it. Are you sure there are no additional functions executed when the form is
submitted?
--
Cheers,
Edward
Probably multiple "Submit" buttons. Enable debug mode to check.
phimdeep

Micro Focus Frequent Contributor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-23
18:21
Assuming there is no issue with username and generated password -
1. When Auto-Submit is on, what Access Gateway does is submit the populated form using javascript statement document.<form id/number>.submit()
The most likely what is happening is with the above statement, login is failing and server redirects to same login form.
You can try the following -
1. Enable "Detect Loop" to stop looping
2. Add global advance option NAGGlobalOptions InPlaceSilent=on. Use "Enable JavaScript Handling" optionwrite your own javascript statement to click the submit/login button. e.g. document.getElementById("button-id").click()