Android emulator 如何在Android Emulator中使用ngrok与Okta

Android emulator 如何在Android Emulator中使用ngrok与Okta,android-emulator,single-sign-on,saml,okta,ngrok,Android Emulator,Single Sign On,Saml,Okta,Ngrok,我正在用okta测试SSO。我正在尝试使用Android模拟器登录okta。为了让我能够从我使用的ngrok模拟器中点击我的本地主机。现在我可以从ngrok提供的url访问本地主机”https://xxxx.ngrok.io/". 我可以进入okta屏幕,但当我登录okta时,它不会呈现页面,而是根据okta上的以下saml设置抛出错误 我在OKTA上有以下SAML设置 Single Sign On URL : https://localhost:port/signin-saml Recipie

我正在用okta测试SSO。我正在尝试使用Android模拟器登录okta。为了让我能够从我使用的ngrok模拟器中点击我的本地主机。现在我可以从ngrok提供的url访问本地主机”https://xxxx.ngrok.io/". 我可以进入okta屏幕,但当我登录okta时,它不会呈现页面,而是根据okta上的以下saml设置抛出错误

我在OKTA上有以下SAML设置

Single Sign On URL : https://localhost:port/signin-saml
Recipient URL : https://localhost:port/signin-saml
Destination URL : https://localhost:port/signin-saml
Audience Restriction : https:/localhost:port/saml
我得到以下错误

Webpage not available
The webpage at https://localhost:port/sigin-saml could not be loaded because
net:ERR_CONNECTION_REFUSED
我尝试在Okta中将saml设置更改为以下设置

 Single Sign On URL : https://xxxx.ngrok.io/signin-saml
 Recipient URL : https://xxxx.ngrok.io/signin-saml
 Destination URL : https://xxxx.ngrok.io/signin-saml
 Audience Restriction : https://xxxx.ngrok.io/saml
我返回以下错误,

Exception: SAML Response has invalid Destination
我不知道如何使用ngrok url重定向到android emulator

谢谢