{"id":21365060,"url":"https://github.com/altinn/altinn-authentication-frontend","last_synced_at":"2025-07-25T20:02:45.084Z","repository":{"id":194779480,"uuid":"687936094","full_name":"Altinn/altinn-authentication-frontend","owner":"Altinn","description":"Authentication React frontend with BFF","archived":false,"fork":false,"pushed_at":"2024-10-29T09:34:16.000Z","size":1418,"stargazers_count":1,"open_issues_count":24,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2024-10-29T11:42:28.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Altinn.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":"2023-09-06T10:07:24.000Z","updated_at":"2024-10-24T14:35:27.000Z","dependencies_parsed_at":"2023-09-23T09:21:07.650Z","dependency_job_id":"54773238-0071-4ca3-9ad5-526a1ad6a0ad","html_url":"https://github.com/Altinn/altinn-authentication-frontend","commit_stats":null,"previous_names":["altinn/altinn-authentication-frontend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-authentication-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-authentication-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-authentication-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-authentication-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Altinn","download_url":"https://codeload.github.com/Altinn/altinn-authentication-frontend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841203,"owners_count":20356441,"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":[],"created_at":"2024-11-22T07:09:18.463Z","updated_at":"2025-03-16T07:40:25.877Z","avatar_url":"https://github.com/Altinn.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Altinn-authentication-frontend repo\n\nDette er et monorepo for Authentication React Frontend sub-repo, med tilhørende BFF (backend-for-frontend) sub-repo.\n\nProsjektet er nystartet og informasjon i README i sub-repo kan være midlertidig eller ufullstendig. Det er også opprettet et Repo Wiki: https://github.com/Altinn/altinn-authentication-frontend/wiki\n\n### Hvordan sette opp diverse prosesser for lokal utvikling\n\n\u003cb\u003e03.11.23\u003c/b\u003e\nLokal utvikling med API kall fra React app til BFF dotnet app, og mock av innlogging mot app-localtest dotnet app og Docker, fire prosesser kjørende samtidig. Dette er beskrevet i Repo Wiki (og kort nedunder).\n\nSWAGGER oversikt over API tilgjengelig i browser på\nhttp://localhost:5191/swagger/index.html\n\n### How-to-run BFF integration against app-localtest for mock of login\n\nThe Authentication Frontend BFF needs a set of configurations to integrate and run.\n\nDuring Development it is through local.altinn.cloud\n\nSee the branch named \"AuthFrontLocalTest\" in the Altinn repo app-localtest ( https://github.com/Altinn/app-localtest/tree/AuthFrontLokalTest ), for the changes needed in local-test to run the BFF locally.\n\nFor example, one needs to edit the config file in the loadbalancer to forward the correct route. This should be part of the \"AuthFrontLocalTest\" branch already.\n\nRun the \"loadbalancer\" (really NginX reverse proxy) in Docker:\n\n\u003e docker compose up -d --build\n\nHowever, the Docker container \"local-test\" should be stopped (since we run that locally)\n\nRun the BFF in the local folder (where program.cs is):\n\n\u003e dotnet run\n\nRun the local-test in the local src folder (where program.cs is):\n\n\u003e dotnet run\n\nInstall the dependencies for the Frontend in its local folder if you are running the frontend for the first time:\n\n\u003e yarn install\n\nRun the Vite server for the Frontend in its local folder:\n\n\u003e yarn start\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Faltinn-authentication-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltinn%2Faltinn-authentication-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Faltinn-authentication-frontend/lists"}