Configure Application SSO to automatically sign in to a web application

Using Application SSO, I need to save an application credentials (username and password) somewhere, so that a PAM user will be logged in directly to the application after launching the RDP file from the PAM access console.

I was trying to test this functionality on facebook, so here is what I have done so far:

1- created a resource for the application in the credential vault

2- added a credential (my facebook username and password) for this resource

3- created a new rule

The problem is when I launch the RDP file, facebook opens successfully but it does not login automatically although I have provided my credentials in the vault.

How can I do that ?

Any suggestion would be appreciated ! Thank you