Skip to content

Commit

Permalink
📨💼 ↣ Auth working for [HDASH-5 HDASH-4 #6 STA-13]
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Oct 30, 2022
1 parent 062714e commit 7a35db8
Show file tree
Hide file tree
Showing 34 changed files with 74,417 additions and 15,798 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# sytizen-unity
[![.github/workflows/moralis.yml](https://github.com/Signal-K/sytizen/actions/workflows/moralis.yml/badge.svg?branch=ansible)](https://github.com/Signal-K/sytizen/actions/workflows/moralis.yml)
[![.github/workflows/moralis.yml](https://github.com/Signal-K/sytizen/actions/workflows/moralis.yml/badge.svg?branch=ansible)](https://github.com/Signal-K/sytizen/actions/workflows/moralis.yml) <br />
Citizen Science (Sci-tizen) visualisation in the Unity.com engine


Expand Down
6 changes: 3 additions & 3 deletions auth/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ app.use(bodyParser.json());

// Import, then initiate Magic instance for server-side methods
const { Magic } = require("@magic-sdk/admin");
const magic = new Magic(process.env.MAGIC_SECRET_KEY);
const magic = new Magic("sk_live_68A35C1830811F76");

// Import & initiate Stripe instance
const stripe = require("stripe")(process.env.STRIPE_SECRET_KEY);
const stripe = require("stripe")("sk_test_51L1UB5EXgarheYLkeVAlHU3WoblkGbhBogaxlHcpddIeZIjc5gComRLXUnzeF9eK1VJ9dzgdITlN8rjjKdoqjFd200zrAlYAsZ");

// Allow requests from client-side
app.use(cors({ origin: process.env.CLIENT_URL }));
app.use(cors({ origin: "http://localhost:3000" }));

// Route to validate the user's DID token
app.post("/login", async (req, res) => {
Expand Down
20 changes: 10 additions & 10 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"files": {
"main.css": "/static/css/main.550acda6.chunk.css",
"main.js": "/static/js/main.f06acf4e.chunk.js",
"main.js.map": "/static/js/main.f06acf4e.chunk.js.map",
"main.css": "/static/css/main.4954a0c0.chunk.css",
"main.js": "/static/js/main.abc84a18.chunk.js",
"main.js.map": "/static/js/main.abc84a18.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.7e9105ec.js",
"runtime-main.js.map": "/static/js/runtime-main.7e9105ec.js.map",
"static/js/2.e7823345.chunk.js": "/static/js/2.e7823345.chunk.js",
"static/js/2.e7823345.chunk.js.map": "/static/js/2.e7823345.chunk.js.map",
"static/js/2.c8c872ed.chunk.js": "/static/js/2.c8c872ed.chunk.js",
"static/js/2.c8c872ed.chunk.js.map": "/static/js/2.c8c872ed.chunk.js.map",
"index.html": "/index.html",
"static/css/main.550acda6.chunk.css.map": "/static/css/main.550acda6.chunk.css.map",
"static/js/2.e7823345.chunk.js.LICENSE.txt": "/static/js/2.e7823345.chunk.js.LICENSE.txt",
"static/css/main.4954a0c0.chunk.css.map": "/static/css/main.4954a0c0.chunk.css.map",
"static/js/2.c8c872ed.chunk.js.LICENSE.txt": "/static/js/2.c8c872ed.chunk.js.LICENSE.txt",
"static/media/TessStat.92d32aa4.png": "/static/media/TessStat.92d32aa4.png",
"static/media/logo.96599352.png": "/static/media/logo.96599352.png",
"static/media/video1.908b809d.mov": "/static/media/video1.908b809d.mov"
},
"entrypoints": [
"static/js/runtime-main.7e9105ec.js",
"static/js/2.e7823345.chunk.js",
"static/css/main.550acda6.chunk.css",
"static/js/main.f06acf4e.chunk.js"
"static/js/2.c8c872ed.chunk.js",
"static/css/main.4954a0c0.chunk.css",
"static/js/main.abc84a18.chunk.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Companion app for the Star Sailors game"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Star Sailors</title><link href="/static/css/main.550acda6.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,a=r[0],f=r[1],i=r[2],c=0,s=[];c<a.length;c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var a=this["webpackJsonpstar-sailors-fe"]=this["webpackJsonpstar-sailors-fe"]||[],f=a.push.bind(a);a.push=r,a=a.slice();for(var i=0;i<a.length;i++)r(a[i]);var p=f;t()}([])</script><script src="/static/js/2.e7823345.chunk.js"></script><script src="/static/js/main.f06acf4e.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Companion app for the Star Sailors game"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Star Sailors</title><link href="/static/css/main.4954a0c0.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,a=r[0],f=r[1],i=r[2],c=0,s=[];c<a.length;c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var a=this["webpackJsonpstar-sailors-fe"]=this["webpackJsonpstar-sailors-fe"]||[],f=a.push.bind(a);a.push=r,a=a.slice();for(var i=0;i<a.length;i++)r(a[i]);var p=f;t()}([])</script><script src="/static/js/2.c8c872ed.chunk.js"></script><script src="/static/js/main.abc84a18.chunk.js"></script></body></html>
2 changes: 2 additions & 0 deletions build/static/css/main.4954a0c0.chunk.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/css/main.4954a0c0.chunk.css.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions build/static/css/main.550acda6.chunk.css

This file was deleted.

1 change: 0 additions & 1 deletion build/static/css/main.550acda6.chunk.css.map

This file was deleted.

3 changes: 3 additions & 0 deletions build/static/js/2.c8c872ed.chunk.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license React
* react-dom.production.min.js
Expand Down Expand Up @@ -37,3 +45,12 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions build/static/js/2.e7823345.chunk.js

This file was deleted.

Loading

0 comments on commit 7a35db8

Please sign in to comment.