-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-dev.html
51 lines (51 loc) · 1.38 KB
/
index-dev.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<title>UserIn - Gray Quail</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<button id="login">Login</button>
<div id="main2"></div>
<script src="index.js"></script>
<script type="text/javascript">
var loginForm = new UserInForm({
//el: '#main2',
logo: "https://neap.co/img/neap_color_horizontal.png",
tagline: {
login: "Log in to Magic App",
signup: "Sign up to Magic App",
},
blurb: {
login: "This adventure begins now",
signup: "This adventure begins now",
},
usernamePassword: 'http://localhost:3000/default/oauth2',
facebook: 'http://localhost:3000/facebook/oauth2',
google: 'http://localhost:3000/google/oauth2',
terms: 'https://termsfeed.com/blog/saas-terms-use-privacy-policy/',
privacyPolicy: 'https://privacypolicies.com/blog/privacy-policy-saas/',
forgotPassword: 'https://neap.co',
redirectUrls: {
// onSuccess: 'http://localhost:8080/success',
// onError: 'http://localhost:8080/dev'
onSuccess: 'http://localhost:8080/success',
onError: {
login: 'http://localhost:8080/dev?screen=login',
signup: 'http://localhost:8080/dev?screen=signup'
}
},
modal: {
animate: true
},
init: {
visible: true
}
})
document.getElementById('login').addEventListener('click', function() {
loginForm.show()
return false
})
</script>
</body>
</html>