{"id":23456835,"url":"https://github.com/baspla/guard","last_synced_at":"2025-04-11T06:50:48.746Z","repository":{"id":183315307,"uuid":"543848781","full_name":"Baspla/GUARD","owner":"Baspla","description":"GUARD is a custom SSO platform for various upcoming personal projects","archived":false,"fork":false,"pushed_at":"2024-05-11T11:54:57.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T14:45:48.476Z","etag":null,"topics":["bootstrap","express","guard","nodejs","sso","sso-authentication","sso-login","sso-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Baspla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-10-01T01:23:28.000Z","updated_at":"2024-05-11T11:55:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e29d743-59ff-4383-b8f9-3228357f296f","html_url":"https://github.com/Baspla/GUARD","commit_stats":null,"previous_names":["baspla/guard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baspla%2FGUARD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baspla%2FGUARD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baspla%2FGUARD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baspla%2FGUARD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Baspla","download_url":"https://codeload.github.com/Baspla/GUARD/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358548,"owners_count":21090401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","express","guard","nodejs","sso","sso-authentication","sso-login","sso-server"],"created_at":"2024-12-24T04:37:02.922Z","updated_at":"2025-04-11T06:50:48.726Z","avatar_url":"https://github.com/Baspla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GUARD\nGUARD is a custom SSO platform for various upcoming personal projects\n\n### Deutsch\nGUARD ist eine selbstentwickelte SSO-Plattform für verschiedene zukünftige Projekte\n\n## Disclaimer\nThis project is a personal project and is not intended for production use.\nI can not make any guarantees about the security of this project. Use at your own risk.\nThis project does not represent my employer in any way, shape or form.\n\n## Was ist GUARD?\nGUARD steht für den \"Gotteslachs Universal Authentfikations- und Registrierungs-Dienst\".\nGUARD ist ein SSO-System, welches es ermöglicht, sich auf verschiedenen Plattformen mit einem einzigen Account anzumelden.\n\n## Warum GUARD?\nGUARD wurde entwickelt, um die Anmeldung auf verschiedenen Plattformen zu vereinfachen.\nZudem soll GUARD die Möglichkeit bieten, sich auf verschiedenen Plattformen mit einem einzigen Account anzumelden.\n\n## Wie integriere ich GUARD in meine Plattform?\nUm einen Token von GUARD anzufordern, muss der Benutzer auf die GUARD-Loginseite weitergeleitet werden.\nDort kann er sich mit seinen Zugangsdaten anmelden und erhält anschließend einen Token.\nMit diesem Token wird der Benutzer auf die Plattform zurückgeleitet, wo er sich mit dem Token authentifizieren kann.\n\nDie Seite auf die der Benutzer zurückgeleitet wird, muss im returnURL-Parameter angegeben werden.\nAuf dieser Seite muss der Token in der URL als GUARDTOKEN-Parameter empfangen werden.\nDer Token kann dann an die GUARD-API geschickt werden,\num die Gültigkeit zu überprüfen und Benutzername so wie Displayname zu erhalten.\n### Beispiel\n`https://guard.example.com/login?returnURL=https://app.example.com/reciever` führt zu einer Anmeldeseite die,\nnachdem der Benutzer sich angemeldet hat, den Benutzer auf `https://app.example.com/reciever?GUARDTOKEN=token` zurückleitet.\nDie App kann dann die Benutzerdaten mit dem Token auf `https://guard.example.com/sso` abfragen.\n\n## Wie kann ich GUARD selbst hosten?\nGUARD ist als Docker-Container verfügbar.\n`baspla/guard:latest`\n\nIch verwende Docker-Compose, um GUARD zu hosten.\n```yaml\nversion: '3.3'\nservices:\n  redis:\n    image: redis\n    restart: unless-stopped\n    volumes:\n      - .../guardsso:/data\n    expose:\n        - 6379\n    networks:\n      backend:\n        aliases:\n          - redis\n\n  app:\n    environment:\n      - SECRET=...\n      - REDIS_HOST=redis\n      - REDIS_PORT=6379\n      - VIRTUAL_HOST=guard.example.com\n      - LETSENCRYPT_HOST=guard.example.com\n      - LETSENCRYPT_EMAIL=email@example.com\n    restart: unless-stopped\n    networks:\n      - backend\n      - proxy\n    depends_on:\n      - redis\n    image: baspla/guard\nnetworks:\n  proxy:\n    external: true\n  backend:\n```\n\n## Was ist GUARD nicht?\nGUARD ist kein OpenID-, OAuth-, SAML-, LDAP- oder CAS-Provider\n\n## Was ist GUARD in Zukunft?\nGUARD ist vom Funktionsumfang quasi fertig. Komplexere Features sollten auf Plattformen entstehen, sie GUARD als SSO-Provider nutzen.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaspla%2Fguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaspla%2Fguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaspla%2Fguard/lists"}