-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
29 lines (25 loc) · 990 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My First HTML Page</title>
<script src="https://sarawakid-tnt.sarawak.gov.my/web/share/swkid_plugin/?lang=en"></script>
<script type="text/javascript" language="javascript">
document.addEventListener("DOMContentLoaded", function () {
swkid_sso_init({
client_id: 'citizenapp_mobile_production',
state: '',
response_type: 'code',
redirect_uri: 'https://citizen.sioc.sma.gov.my/mobile/api/login/auth/callback/',
logout_redirect_url: 'https://citizen.sioc.sma.gov.my/redirect/',
logout_uri: 'https://citizen.sioc.sma.gov.my/redirect/',
misc_param: '',/*this will pass to redirect_uri*/
});
swkid_login_form_submit();
});
</script>
</head>
<body>
</body>
</html>