File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
src/core/domain/services/verification Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "author" : " Paraskevas (Paris) SMYRLAKIS" ,
77 "scripts" : {
8- "dev" : " next dev --turbopack" ,
8+ "dev" : " next dev --turbopack -H 0.0.0.0 " ,
99 "build" : " next build --turbopack" ,
1010 "start" : " next start" ,
1111 "format" : " prettier --write ." ,
Original file line number Diff line number Diff line change @@ -83,19 +83,9 @@ export class CredentialVerificationService {
8383 } ;
8484
8585 // Add redirect URI for same-device flow
86- // NOTE: EUDI Verifier is rejecting redirect templates with InvalidWalletResponseTemplate error
87- // Disabling same-device flow redirect until verifier backend is fixed
88- // See: https://github.com/eu-digital-identity-wallet/eudi-srv-web-verifier-endpoint-23220-4-kt/issues/XXX
8986 if ( options . sameDeviceFlow ) {
90- this . logger . warn (
91- 'Same-device flow requested but redirect template disabled due to verifier bug' ,
92- {
93- applicationId : options . applicationId ,
94- } ,
95- ) ;
96- // Uncomment when verifier supports redirect templates:
97- // const base = env.NEXT_PUBLIC_APP_URI.replace(/\/+$/, '');
98- // payload.wallet_response_redirect_uri_template = `${base}/applications/${options.applicationId}/callback?response_code={response_code}`;
87+ const base = env . NEXT_PUBLIC_APP_URI . replace ( / \/ + $ / , '' ) ;
88+ payload . wallet_response_redirect_uri_template = `${ base } /applications/${ options . applicationId } /callback?response_code={response_code}` ;
9989 }
10090
10191 return payload ;
You can’t perform that action at this time.
0 commit comments