Callback
Callback called by Myinfo service
Query Parameters
Name
Type
Description
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<span>Callback from Myinfo. Wait for calling person data API</span>
<span id="code-container">{{ code }}</span>
</body>
<script>
window.addEventListener('load',
function (event) {
let code_element = document.getElementById('code-container')
let code_text = code_element.innerHTML
let url = `http://localhost:3001/users/me/external/myinfo?code=${code_text}`
window.location.href = url
}
);
</script>
</html>
Last updated