{"id":29614755,"url":"https://github.com/furesoft/avalonia.auth","last_synced_at":"2026-04-16T12:02:00.663Z","repository":{"id":305179835,"uuid":"1022102103","full_name":"furesoft/Avalonia.Auth","owner":"furesoft","description":"An extendable login component for Avalonia","archived":false,"fork":false,"pushed_at":"2026-04-16T04:14:34.000Z","size":84126,"stargazers_count":6,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-16T06:29:55.750Z","etag":null,"topics":["authentication","avalonia","csharp","login","oauth"],"latest_commit_sha":null,"homepage":"","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/furesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"furesoft","patreon":"furesoft","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":"furesoft","lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"furesoft","thanks_dev":null,"custom":null}},"created_at":"2025-07-18T13:05:31.000Z","updated_at":"2026-04-16T04:14:37.000Z","dependencies_parsed_at":"2025-07-18T20:00:00.665Z","dependency_job_id":null,"html_url":"https://github.com/furesoft/Avalonia.Auth","commit_stats":null,"previous_names":["furesoft/avalonia.auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/furesoft/Avalonia.Auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furesoft%2FAvalonia.Auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furesoft%2FAvalonia.Auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furesoft%2FAvalonia.Auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furesoft%2FAvalonia.Auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/furesoft","download_url":"https://codeload.github.com/furesoft/Avalonia.Auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furesoft%2FAvalonia.Auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31884929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["authentication","avalonia","csharp","login","oauth"],"created_at":"2025-07-21T00:00:27.615Z","updated_at":"2026-04-16T12:02:00.647Z","avatar_url":"https://github.com/furesoft.png","language":"C#","funding_links":["https://github.com/sponsors/furesoft","https://patreon.com/furesoft","https://issuehunt.io/r/furesoft","https://buymeacoffee.com/furesoft"],"categories":[],"sub_categories":[],"readme":"﻿# Avalonia.Auth\n\n[![CodeFactor](https://www.codefactor.io/repository/github/furesoft/Avalonia.Auth/badge)](https://www.codefactor.io/repository/github/furesoft/Avalonia.Auth)\n![NuGet Version](https://img.shields.io/nuget/v/Avalonia.Auth)\n![NuGet Downloads](https://img.shields.io/nuget/dt/Avalonia.Auth)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n![Discord](https://img.shields.io/discord/455738571186241536)\n![Libraries.io SourceRank](https://img.shields.io/librariesio/sourcerank/nuget/Avalonia.Auth)\n[![](https://tokei.rs/b1/github/furesoft/Avalonia.Auth)](https://github.com/furesoft/Avalonia.Auth)\n\nAvalonia.Auth is a flexible and modern authentication library for Avalonia UI applications. It provides reusable UI components and easy integration of OAuth providers such as Google, GitHub, and Hello.\n\n## Features\n\n- **AuthContext**: Customizable authentication context for different providers\n- **Provider-specific colors \u0026 icons**\n- **Easy integration into Avalonia projects**\n- **Extensible for additional OAuth providers**\n- **Sample providers for Google, GitHub, and Hello included**\n\n## Installation\n\n1. Install the NuGet packages:\n   ```shell\n   dotnet add package Avalonia.Auth\n   dotnet add package Avalonia.Auth.BrowserAuth\n   ```\n\n2. Install Providers\n   ```shell\n   dotnet add package Avalonia.Auth.Provider.Github\n   ```\n\n3. Configure in Program.cs in BuildAvaloniaApp()\n   ```csharp\n   .WithAuth(_ =\u003e\n   {\n       _.AddProvider\u003cGithubProvider\u003e();\n       _.UseBrowserAuth();\n   })\n   ```\n4. Add the AuthContext to your Window:\n   ```xml\n   xmlns:controls=\"http://furesoft.de/schemas/auth\"\n   ```\n\n   ```xml\n   \u003ccontrols:AuthContext /\u003e\n   ```\n\nAll providers that implement `AuthProvider` will be automatically displayed, when they are configured.\n\n| :warning: Important           |\n|:----------------------------|\n| If no UsernamePasswordProvider is configured the username and password fields are hidden.  For Authentication an external Auth provider has to be registered (BrowserAuth or EmbeddedAuth) |\n\n## Sample Application\n\nA sample application demonstrating usage can be found in the `Sample` folder.\n\n\u003cimg width=\"452\" height=\"396\" alt=\"image\" src=\"https://github.com/user-attachments/assets/d27e47c5-9c8f-4bb3-9be6-663c42cbce93\" /\u003e\n\nThe AuthContext has two mode (Minimal, Default). When minimal mode is selected the icons of the providers will be smaller.   \n\n## Providers supported\n- Google\n- Helló\n- Github\n- Discord\n- WorldID\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuresoft%2Favalonia.auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuresoft%2Favalonia.auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuresoft%2Favalonia.auth/lists"}