-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: "Others" id_type selection in doc v from smile links (#247)
* fix: "Others" id_type selection in doc v from smile links * format: run prettier * tests: fix most failing tests * fix: docv filters for others
- Loading branch information
1 parent
897a2f9
commit 0d35125
Showing
3 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
packages/embed/cypress/pages/verification-method-global-document-verification.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<style> | ||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
max-width: 100%; | ||
min-height: 100%; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<script src="js/script.min.js"></script> | ||
|
||
<script> | ||
SmileIdentity({ | ||
token: | ||
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXJ0bmVyX3BhcmFtcyI6eyJ1c2VyX2lkIjoidXNlci1mZTIwY2JkYS1jMjJiLTRmZmUtOWRlZC05YjZhZGI2MDE1ZmIiLCJqb2JfaWQiOiJqb2ItNjYzY2VhNTUtZWIxYy00MjI2LWI1N2YtOGEwMTAwOTc4ZjViIiwiam9iX3R5cGUiOjF9LCJjYWxsYmFja191cmwiOiJodHRwczovL3dlYmhvb2suc2l0ZS9iZTM0YzkzZC1hOTFmLTQzZGItYWVmMi05MDZjNWNkOTVkNDciLCJpYXQiOjE2MzQyODE0MTAsImV4cCI6MTYzNTkxNTY4NH0.B4JaP4UWbNs38hV9nQ_9_Pnpos0fM3qu2nGG7Eymjs8', | ||
id_types: [ | ||
{ | ||
country: 'AF', | ||
id_type: '', | ||
verification_method: 'doc_verification', | ||
}, | ||
], | ||
callback_url: | ||
'https://portal.usesmileid.com/api/v2/007/postback/update_status', | ||
environment: 'sandbox', | ||
partner_details: { | ||
name: 'Test Org', | ||
logo_url: 'https://portal.usesmileid.com/favicon.ico', | ||
partner_id: '007', | ||
policy_url: 'https://usesmileid.com/privacy-policy', | ||
theme_color: '#000', | ||
}, | ||
onSuccess: () => {}, | ||
onClose: () => {}, | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters