issue-129 small changes before bigger pre
these are not strictly related
This commit is contained in:
@@ -18,7 +18,7 @@ export const handler = async (req, _context) => {
|
||||
email: 'k.hutten@protonmail.ch',
|
||||
confirmation_sent_at: '2020-10-19T18:09:01Z',
|
||||
app_metadata: { provider: 'email' },
|
||||
user_metadata: { full_name: 'sick_dog' },
|
||||
user_metadata: { full_name: 'sick_dog', userName: 'hi bob' },
|
||||
created_at: '2020-10-19T18:09:01Z',
|
||||
updated_at: '2020-10-19T18:09:01Z'
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ import { AuthenticationError, ForbiddenError, parseJWT } from '@redwoodjs/api'
|
||||
* return await db.user.findOne({ where: { decoded.email } })
|
||||
* }
|
||||
*
|
||||
* @example - User info is conatined in the decoded token and roles extracted
|
||||
* @example - User info is contained in the decoded token and roles extracted
|
||||
*
|
||||
* export const getCurrentUser = async (decoded, { _token, _type }) => {
|
||||
* return { ...decoded, roles: parseJWT({ decoded }).roles }
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
port = 8910
|
||||
apiProxyPath = "/.netlify/functions"
|
||||
includeEnvironmentVariables = ['GOOGLE_ANALYTICS_ID']
|
||||
experimentalFastRefresh = true
|
||||
[api]
|
||||
port = 8911
|
||||
[browser]
|
||||
|
||||
15
web/identity-test.json
Normal file
15
web/identity-test.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"event": "signup",
|
||||
"instance_id": "403b7d63-17f9-48f1-a85f-3d6b41c7dad1",
|
||||
"user": {
|
||||
"id": "641222ee-3e61-4253-8c11-9f764779bcc5",
|
||||
"aud": "",
|
||||
"role": "",
|
||||
"email": "k.hutten2@protonmail.ch",
|
||||
"confirmation_sent_at": "2020-10-19T18:09:01Z",
|
||||
"app_metadata": { "provider": "email" },
|
||||
"user_metadata": { "full_name": "sick_dog", "userName": "hi bob" },
|
||||
"created_at": "2020-10-19T18:09:01Z",
|
||||
"updated_at": "2020-10-19T18:09:01Z"
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ const InputText = ({ value, isEditable, onChange, className }) => {
|
||||
className
|
||||
)}
|
||||
>
|
||||
<div className="absolute inset-0 mb-2 rounded bg-gray-200 shadow-inner bg-gray-100" />
|
||||
<div className="absolute inset-0 mb-2 rounded bg-gray-200 shadow-inner" />
|
||||
<input
|
||||
className="pl-2 pt-1 text-indigo-800 font-medium mb-px pb-px bg-transparent relative"
|
||||
onChange={onChange}
|
||||
|
||||
@@ -163,10 +163,12 @@ const LandingSection = () => {
|
||||
with more integrations coming soon.
|
||||
</p>
|
||||
<button
|
||||
className="font-bold text-2xl bg-texture bg-purple-800 text-center w-full py-6 rounded-b-md border border-indigo-300 border-opacity-0 hover:border-opacity-100 hover:shadow-xl"
|
||||
className="bg-texture bg-purple-800 text-center w-full py-6 rounded-b-md border border-indigo-300 border-opacity-0 hover:border-opacity-100 hover:shadow-xl"
|
||||
onClick={recordedLogin}
|
||||
>
|
||||
<span className="text-indigo-200">Start Hacking Now</span>
|
||||
<span className="font-bold text-2xl text-indigo-200">
|
||||
Start Hacking Now
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user