Skip to content

Commit

Permalink
Retructure packages
Browse files Browse the repository at this point in the history
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
dvir-daniel committed Nov 9, 2024
1 parent 0d9320c commit b2d34a4
Show file tree
Hide file tree
Showing 1,426 changed files with 21,062 additions and 8,786 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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.
10 changes: 10 additions & 0 deletions apps/account/README.md
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.
2 changes: 1 addition & 1 deletion members/one-web-app/app.yaml → apps/account/app.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
service: one
service: account
runtime: nodejs18
instance_class: F2

Expand Down
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.
66 changes: 66 additions & 0 deletions apps/account/next.config.js
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);

Loading

0 comments on commit b2d34a4

Please sign in to comment.