Redirecting from service desk login to remote url to show user logged in

In my existing connect app i have a external remote app. When user is on this remote app and clicks login, i send user to

https://abc.atlassian.net/servicedesk/customer/user/login?absolute=true&destination=https://abc.atlassian.net/plugins/servlet/ac-redirect/connect-app-id/view?ac.redirectDomain=www.abc.app&ac.redirectPath=/path

Note: destination= url is encoded, i have removed it for readable format.

This is working for my connect app as destination is within same atlassian jira site (abc.atlassian.net).
in atlassian-connect.json i have

 "webItems": [
      {
        "key": "view",
        "url": "/map/jwt-login?redirectDomain={ac.redirectDomain}&redirectPath={ac.redirectPath}",
        "context": "addon",
        "location": "system.user.options/set_my_jira_home",
        "name": {
          "value": "map"
        },
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      }
    ],

So when after login, user gets redirected to “https://abc.atlassian.net/plugins/servlet/ac-redirect/connect-app-id/view?ac.redirectDomain=www.abc.app&ac.redirectPath=/path

And because of above webitem, it’s redirected to
https://www.abc.com/map/jwt-login?redirectDomain={ac.redirectDomain}&redirectPath={ac.redirectPath}

And here on www.abc.com i get the user jwt and i show user as logged in.

Now i am moving from connect to forge app. I will also be having a remote site.
How can i do this with forge app? I simple want to show user logged in on my remote site (www.abc.com) when he logs in on jira service desk.

Thanks
Shiv