{"id":18350446,"url":"https://github.com/arbiminanda/secret-auth-apps","last_synced_at":"2026-04-11T03:34:54.690Z","repository":{"id":151134115,"uuid":"623258343","full_name":"arbiminanda/secret-auth-apps","owner":"arbiminanda","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-05T15:07:35.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T23:52:40.911Z","etag":null,"topics":["bootstrap","css","dotenv","ejs","express","html","mongoose-encryption","passport","passport-google-oauth20"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arbiminanda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-04T02:32:06.000Z","updated_at":"2023-04-05T08:43:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"cee7e12e-510e-4649-8ddd-d3728f06dc85","html_url":"https://github.com/arbiminanda/secret-auth-apps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arbiminanda/secret-auth-apps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbiminanda%2Fsecret-auth-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbiminanda%2Fsecret-auth-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbiminanda%2Fsecret-auth-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbiminanda%2Fsecret-auth-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arbiminanda","download_url":"https://codeload.github.com/arbiminanda/secret-auth-apps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbiminanda%2Fsecret-auth-apps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","css","dotenv","ejs","express","html","mongoose-encryption","passport","passport-google-oauth20"],"created_at":"2024-11-05T21:26:38.966Z","updated_at":"2026-04-11T03:34:54.668Z","avatar_url":"https://github.com/arbiminanda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secrets: Fullstack Express Authentication Apps\n\nThis is fullstack express project to implement general and google authentication\n\n# Run Script\n\n- Open terminal/cmd, go to the project directory and install all dependencies\n\n```\nnpm install\n```\n\n- Setup MongoDB server on your device, you can use [this](https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/) as reference\n- Create a database with name \"secret_auth_apps\", create a collection with name \"users\"\n- This project use [Passport Google Authentication](https://www.passportjs.org/packages/passport-google-oauth20/) for google auth mechanism, for this purpose you should setup google console API for authentication:\n\n1. Add project in [Google Console API](https://console.cloud.google.com/apis/dashboard)\n2. Setup OAuth Consent Screen\n3. Create OAuth clientID in credentials section, you should set type to web application, input base url of your apps, and set url for google authorization callback\n\n```\n{baseUrl}/auth/google/secrets\n```\n\n4. You will get clientId and clientSecret\n\n- Copy file .env.example to .env, and edit the content of that file:\n\n```\nBASE_URL: Base url of your apps\nSECRET_KEY: random string for encryption in general authentication purpose\nCLIENT_ID: clientId from Google Console API\nCLIENT_SECRET: clientSecret from Google Console API\n```\n\n- Run this command to run the server:\n\n```\nnodemon server.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farbiminanda%2Fsecret-auth-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farbiminanda%2Fsecret-auth-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farbiminanda%2Fsecret-auth-apps/lists"}