@@ -95,21 +95,21 @@ public class PassportUI : MonoBehaviour
9595 [ Tooltip ( "Passport environment (sandbox or production)" ) ]
9696 [ SerializeField ] private string environment = "sandbox" ;
9797
98- [ Tooltip ( "OAuth redirect URI for authentication callbacks" ) ]
99- [ SerializeField ] private string redirectUri = "immutablerunner://callback " ;
98+ [ Tooltip ( "Redirect URI for authentication callbacks (configure in the Immutable Developer Hub) " ) ]
99+ [ SerializeField ] private string redirectUri = "" ;
100100
101- [ Tooltip ( "OAuth logout redirect URI for logout callbacks" ) ]
102- [ SerializeField ] private string logoutRedirectUri = "immutablerunner://logout " ;
101+ [ Tooltip ( "OAuth logout redirect URI for logout callbacks (configure in the Immutable Developer Hub) " ) ]
102+ [ SerializeField ] private string logoutRedirectUri = "" ;
103103
104104 [ Header ( "WebView Settings" ) ]
105- [ Tooltip ( "Base URL for the WebView authentication page. The client_id parameter will be automatically appended from the Passport Configuration above." ) ]
106- [ SerializeField ] private string webViewBaseUrl = "https://auth.immutable.com/im-embedded-login-prompt" ;
105+ // Internal base URL for Passport authentication - users don't need to modify this
106+ private const string webViewBaseUrl = "https://auth.immutable.com/im-embedded-login-prompt" ;
107107
108108 [ Tooltip ( "Width of the WebView in pixels. Set to 0 to use the RawImage's current width." ) ]
109- [ SerializeField ] private int webViewWidth = 1920 ;
109+ [ SerializeField ] private int webViewWidth = 800 ;
110110
111111 [ Tooltip ( "Height of the WebView in pixels. Set to 0 to use the RawImage's current height." ) ]
112- [ SerializeField ] private int webViewHeight = 1080 ;
112+ [ SerializeField ] private int webViewHeight = 600 ;
113113
114114 /// <summary>
115115 /// Gets the complete WebView URL with the client ID automatically appended
@@ -127,13 +127,9 @@ public string WebViewUrl
127127 }
128128
129129 /// <summary>
130- /// Gets or sets the base WebView URL (without client_id parameter)
130+ /// Gets the base WebView URL (without client_id parameter) - read-only
131131 /// </summary>
132- public string WebViewBaseUrl
133- {
134- get => webViewBaseUrl ;
135- set => webViewBaseUrl = value ;
136- }
132+ public string WebViewBaseUrl => webViewBaseUrl ;
137133
138134 /// <summary>
139135 /// Gets or sets the WebView width in pixels
0 commit comments