-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 227d585 Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Sat Nov 9 14:51:48 2024 +0200 update readme commit 1754841 Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Sat Nov 9 14:47:53 2024 +0200 update commit a2d9e42 Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Sat Nov 9 10:06:03 2024 +0200 update commit 583880b Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Sat Nov 9 10:03:38 2024 +0200 update commit 980e8e0 Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Sat Nov 9 10:02:49 2024 +0200 update member commit 9d47ad5 Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Fri Nov 8 16:53:21 2024 +0200 update commit b9fc95e Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Fri Nov 8 10:57:40 2024 +0200 progress commit 3520f8a Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Thu Nov 7 20:30:50 2024 +0200 update commit f7bda4b Author: Dvir Daniel <dvir.daniel100@gmail.com> Date: Thu Nov 7 15:34:02 2024 +0200 update folders
- Loading branch information
1 parent
0d9320c
commit b2d34a4
Showing
1,426 changed files
with
21,062 additions
and
8,786 deletions.
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 |
---|---|---|
|
@@ -40,3 +40,4 @@ firebase-debug.*.log | |
|
||
*firebase-adminsdk*.json | ||
*.gpg | ||
.next |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,10 @@ | ||
|
||
# Eartho Account Service | ||
|
||
The Account Service enables users to log in with their existing accounts (Google, Facebook, Apple, etc.) while protecting their privacy through Eartho. | ||
|
||
## Key Features | ||
- **OAuth2 Login**: Users sign in using popular providers with OAuth2. | ||
- **Privacy Layer**: Eartho then acts as an OpenID Connect (OIDC) provider, creating a secure, privacy-focused login across supported apps. | ||
|
||
This service is designed to make authentication simple, familiar, and secure by adding an Eartho privacy layer over existing accounts. |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
service: one | ||
service: account | ||
runtime: nodejs18 | ||
instance_class: F2 | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,66 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const createNextIntlPlugin = require('next-intl/plugin'); | ||
const withNextIntl = createNextIntlPlugin(); | ||
|
||
const nextConfig = { | ||
i18n: { | ||
// These are all the locales you want to support in | ||
// your application | ||
locales: ["en", "es", "ja", "zh", "hi", "ar", "bn", "pt", "ru", "he"], | ||
defaultLocale : 'en', | ||
localeDetection: false, | ||
// This is the default locale you want to be used when visiting | ||
// a non-locale prefixed path e.g. `/hello` | ||
}, | ||
images: { | ||
domains: [ | ||
'lh3.googleusercontent.com', | ||
'pbs.twimg.com', | ||
'avatars.githubusercontent.com', | ||
'storage.googleapis.com', | ||
'firebasestorage.googleapis.com', | ||
'abs.twimg.com' | ||
], | ||
}, | ||
transpilePackages: ['next-auth'], | ||
experimental: { | ||
missingSuspenseWithCSRBailout: false, | ||
}, | ||
async headers() { | ||
return [ | ||
{ | ||
source: '/(.*)', // Match all paths | ||
headers: [ | ||
{ | ||
key: 'X-Frame-Options', | ||
value: 'SAMEORIGIN', | ||
}, | ||
{ | ||
key: 'X-XSS-Protection', | ||
value: '1; mode=block', | ||
}, | ||
{ | ||
key: 'X-Content-Type-Options', | ||
value: 'nosniff', | ||
}, | ||
// { | ||
// key: 'Content-Security-Policy', | ||
// value: "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'", | ||
// }, | ||
{ | ||
key: 'Strict-Transport-Security', | ||
value: 'max-age=31536000; includeSubDomains; preload', | ||
}, | ||
{ | ||
key: 'Referrer-Policy', | ||
value: 'no-referrer', | ||
}, | ||
// Add more headers if needed | ||
], | ||
}, | ||
]; | ||
}, | ||
}; | ||
|
||
module.exports = withNextIntl(nextConfig); | ||
|
Oops, something went wrong.