forked from reactplay/react-play
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
716 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,7 @@ package-lock.json | |
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
yarn.lock | ||
yarn.lock | ||
|
||
# nhost | ||
.nhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
metadata_directory: metadata | ||
services: | ||
hasura: | ||
environment: | ||
hasura_graphql_enable_remote_schema_permissions: false | ||
minio: | ||
environment: | ||
minio_root_password: minioaccesskey123123 | ||
minio_root_user: minioaccesskey123123 | ||
postgres: | ||
environment: | ||
postgres_password: postgres | ||
postgres_user: postgres | ||
auth: | ||
access_control: | ||
email: | ||
allowed_email_domains: "" | ||
allowed_emails: "" | ||
blocked_email_domains: "" | ||
blocked_emails: "" | ||
url: | ||
allowed_redirect_urls: "" | ||
anonymous_users_enabled: false | ||
client_url: http:https://localhost:3000 | ||
disable_new_users: false | ||
email: | ||
enabled: false | ||
passwordless: | ||
enabled: false | ||
signin_email_verified_required: true | ||
template_fetch_url: "" | ||
gravatar: | ||
default: "" | ||
enabled: true | ||
rating: "" | ||
locale: | ||
allowed: en | ||
default: en | ||
password: | ||
hibp_enabled: false | ||
min_length: 3 | ||
provider: | ||
apple: | ||
client_id: "" | ||
enabled: false | ||
key_id: "" | ||
private_key: "" | ||
scope: name,email | ||
team_id: "" | ||
bitbucket: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
facebook: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
scope: email,photos,displayName | ||
github: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
scope: user:email | ||
token_url: "" | ||
user_profile_url: "" | ||
gitlab: | ||
base_url: "" | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
scope: read_user | ||
google: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
scope: email,profile | ||
linkedin: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
scope: r_emailaddress,r_liteprofile | ||
spotify: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
scope: user-read-email,user-read-private | ||
strava: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
twilio: | ||
account_sid: "" | ||
auth_token: "" | ||
enabled: false | ||
messaging_service_id: "" | ||
twitter: | ||
consumer_key: "" | ||
consumer_secret: "" | ||
enabled: false | ||
windows_live: | ||
client_id: "" | ||
client_secret: "" | ||
enabled: false | ||
scope: wl.basic,wl.emails,wl.contacts_emails | ||
sms: | ||
enabled: false | ||
passwordless: | ||
enabled: false | ||
provider: | ||
twilio: | ||
account_sid: "" | ||
auth_token: "" | ||
from: "" | ||
messaging_service_id: "" | ||
smtp: | ||
host: nhost_mailhog | ||
method: "" | ||
pass: password | ||
port: 1894 | ||
secure: false | ||
sender: [email protected] | ||
user: user | ||
token: | ||
access: | ||
expires_in: 900 | ||
refresh: | ||
expires_in: 43200 | ||
user: | ||
allowed_roles: user,me | ||
default_allowed_roles: user,me | ||
default_role: user | ||
mfa: | ||
enabled: false | ||
issuer: nhost | ||
storage: | ||
force_download_for_content_types: text/html,application/javascript | ||
version: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Confirm Email Change</h2> | ||
<p>Use this link to confirm changing email:</p> | ||
<p> | ||
<a href="${link}"> | ||
Change email | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Change your email address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Verify Email</h2> | ||
<p>Use this link to verify your email:</p> | ||
<p> | ||
<a href="${link}"> | ||
Verify Email | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Verify your email |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Reset Password</h2> | ||
<p>Use this link to reset your password:</p> | ||
<p> | ||
<a href="${link}"> | ||
Reset password | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Reset your password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Magic Link</h2> | ||
<p>Use this link to securely sign in:</p> | ||
<p> | ||
<a href="${link}"> | ||
Sign In | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Secure sign-in link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Confirmer changement de courriel</h2> | ||
<p>Utilisez ce lien pour confirmer le changement de courriel:</p> | ||
<p> | ||
<a href="${link}"> | ||
Changer courriel | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Changez votre adresse courriel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Vérifiez votre courriel</h2> | ||
<p>Utilisez ce lien pour vérifier votre courriel:</p> | ||
<p> | ||
<a href="${link}"> | ||
Vérifier courriel | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Vérifier votre courriel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Réinitializer votre mot de passe</h2> | ||
<p>Utilisez ce lien pour réinitializer votre mot de passe:</p> | ||
<p> | ||
<a href="${link}"> | ||
Réinitializer mot de passe | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Réinitialiser votre mot de passe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
|
||
<body> | ||
<h2>Lien magique</h2> | ||
<p>Utilisez ce lien pour vous connecter de façon sécuritaire:</p> | ||
<p> | ||
<a href="${link}"> | ||
Connexion | ||
</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Lien de connexion sécurisé |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions: [] | ||
custom_types: | ||
enums: [] | ||
input_objects: [] | ||
objects: [] | ||
scalars: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
- name: default | ||
kind: postgres | ||
configuration: | ||
connection_info: | ||
database_url: | ||
from_env: HASURA_GRAPHQL_DATABASE_URL | ||
isolation_level: read-committed | ||
pool_settings: | ||
connection_lifetime: 600 | ||
idle_timeout: 60 | ||
max_connections: 10 | ||
retries: 1 | ||
use_prepared_statements: true | ||
tables: "!include default/tables/tables.yaml" |
16 changes: 16 additions & 0 deletions
16
nhost/metadata/databases/default/tables/auth_provider_requests.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
table: | ||
name: provider_requests | ||
schema: auth | ||
configuration: | ||
custom_column_names: {} | ||
custom_name: authProviderRequests | ||
custom_root_fields: | ||
delete: deleteAuthProviderRequests | ||
delete_by_pk: deleteAuthProviderRequest | ||
insert: insertAuthProviderRequests | ||
insert_one: insertAuthProviderRequest | ||
select: authProviderRequests | ||
select_aggregate: authProviderRequestsAggregate | ||
select_by_pk: authProviderRequest | ||
update: updateAuthProviderRequests | ||
update_by_pk: updateAuthProviderRequest |
24 changes: 24 additions & 0 deletions
24
nhost/metadata/databases/default/tables/auth_providers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
table: | ||
name: providers | ||
schema: auth | ||
configuration: | ||
custom_column_names: {} | ||
custom_name: authProviders | ||
custom_root_fields: | ||
delete: deleteAuthProviders | ||
delete_by_pk: deleteAuthProvider | ||
insert: insertAuthProviders | ||
insert_one: insertAuthProvider | ||
select: authProviders | ||
select_aggregate: authProvidersAggregate | ||
select_by_pk: authProvider | ||
update: updateAuthProviders | ||
update_by_pk: updateAuthProvider | ||
array_relationships: | ||
- name: userProviders | ||
using: | ||
foreign_key_constraint_on: | ||
column: provider_id | ||
table: | ||
name: user_providers | ||
schema: auth |
Oops, something went wrong.