@@ -45,7 +45,7 @@ void main() {
4545 );
4646 expect (
4747 url.queryParameters['redirect_uri' ],
48- 'https://secrandom-online .sectl.top/auth_callback_web.html' ,
48+ 'https://secrandom-lite .sectl.top/auth_callback_web.html' ,
4949 );
5050 });
5151
@@ -216,14 +216,14 @@ void main() {
216216
217217 test ('trusted web callback URI only accepts configured app origin' , () {
218218 final trustedUri = parseTrustedWebAppCallbackUri (
219- 'https://secrandom-online .sectl.top/?code=abc&state=state-123#ignored' ,
219+ 'https://secrandom-lite .sectl.top/?code=abc&state=state-123#ignored' ,
220220 );
221221 final untrustedUri = parseTrustedWebAppCallbackUri (
222222 'https://evil.example/?code=abc&state=state-123' ,
223223 );
224224
225225 expect (trustedUri, isNotNull);
226- expect (trustedUri? .origin, 'https://secrandom-online .sectl.top' );
226+ expect (trustedUri? .origin, 'https://secrandom-lite .sectl.top' );
227227 expect (trustedUri? .fragment, isEmpty);
228228 expect (untrustedUri, isNull);
229229 });
@@ -232,7 +232,7 @@ void main() {
232232 'trusted web callback URI rejects credential-bearing redirect URLs' ,
233233 () {
234234 final uri = parseTrustedWebAppCallbackUri (
235- 'https://user:pass@secrandom-online .sectl.top/?code=abc' ,
235+ 'https://user:pass@secrandom-lite .sectl.top/?code=abc' ,
236236 );
237237
238238 expect (uri, isNull);
@@ -246,8 +246,8 @@ void main() {
246246 isTrustedWebPopupCallbackMessage (
247247 messageType: 'sectl-auth-callback' ,
248248 href:
249- 'https://secrandom-online .sectl.top/?code=abc&state=state-123' ,
250- eventOrigin: 'https://secrandom-online .sectl.top' ,
249+ 'https://secrandom-lite .sectl.top/?code=abc&state=state-123' ,
250+ eventOrigin: 'https://secrandom-lite .sectl.top' ,
251251 isFromExpectedPopupWindow: true ,
252252 ),
253253 isTrue,
@@ -257,7 +257,7 @@ void main() {
257257 isTrustedWebPopupCallbackMessage (
258258 messageType: 'sectl-auth-callback' ,
259259 href:
260- 'https://secrandom-online .sectl.top/?code=abc&state=state-123' ,
260+ 'https://secrandom-lite .sectl.top/?code=abc&state=state-123' ,
261261 eventOrigin: 'https://evil.example' ,
262262 isFromExpectedPopupWindow: true ,
263263 ),
@@ -268,8 +268,8 @@ void main() {
268268 isTrustedWebPopupCallbackMessage (
269269 messageType: 'sectl-auth-callback' ,
270270 href:
271- 'https://secrandom-online .sectl.top/?code=abc&state=state-123' ,
272- eventOrigin: 'https://secrandom-online .sectl.top' ,
271+ 'https://secrandom-lite .sectl.top/?code=abc&state=state-123' ,
272+ eventOrigin: 'https://secrandom-lite .sectl.top' ,
273273 isFromExpectedPopupWindow: false ,
274274 ),
275275 isFalse,
0 commit comments