Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 6e7fe5a

Browse files
authored
Merge pull request #438 from topcoder-platform/roles-checkout
Roles checkout as per https://challenges.topcoder.com/projects/29037/challenges/cfc9dc7e-e3d0-4f64-b548-9c2fe57ae20a/view
2 parents 6b53579 + 5e2cfe8 commit 6e7fe5a

File tree

54 files changed

+957
-850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+957
-850
lines changed

local/login-locally/README

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@
55
3. Now you can open http://localhost:5000 in browser and click login (wait it a little bit, it may take time to redirect you). After you login, you should be redirected back to http://localhost:3000
66

77
PS. You may also download latest version of `setupAuth0WithRedirect.js` file from here - https://github.com/topcoder-platform/tc-auth-lib/blob/dev/web-assets/js/setupAuth0WithRedirect.js
8-
9-
10-
11-

local/login-locally/index.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
<!DOCTYPE html>
22
<html>
3-
4-
<head>
3+
<head>
54
<title>Auth0</title>
65
<meta charset="utf-8" />
7-
<script language="javascript" type="text/javascript" src="./setupAuth0WithRedirect.js"></script>
8-
</head>
6+
<script
7+
language="javascript"
8+
type="text/javascript"
9+
src="./setupAuth0WithRedirect.js"
10+
></script>
11+
</head>
912

10-
<body>
13+
<body>
1114
Loaded...redirecting to auth0.(see browser console log)
1215
<script>
13-
window.onload = authSetup;
16+
window.onload = authSetup;
1417
</script>
15-
<a href="?retUrl=http://localhost:3000" >Login</a>
16-
</body>
17-
18+
<a href="?retUrl=http://localhost:3000">Login</a>
19+
</body>
1820
</html>

0 commit comments

Comments
 (0)