| ... | ... | @@ -147,6 +147,16 @@ pub const dynamic_providers = struct { |
| 147 | 147 | .logo = icon_url("gitea"), |
| 148 | 148 | .color = "#609926", |
| 149 | 149 | }; |
| 150 | pub const _forgejo = Provider{ |
| 151 | .id = "forgejo", |
| 152 | .authorize_url = "https://{[domain]s}/login/oauth/authorize", |
| 153 | .token_url = "https://{[domain]s}/login/oauth/access_token", |
| 154 | .me_url = "https://{[domain]s}/api/v1/user", |
| 155 | .name_prop = "username", |
| 156 | .name_prefix = "@", |
| 157 | .logo = icon_url("forgejo"), |
| 158 | .color = "#FB923C", |
| 159 | }; |
| 150 | 160 | pub const _gitlab = Provider{ |
| 151 | 161 | .id = "gitlab", |
| 152 | 162 | .authorize_url = "https://{[domain]s}/oauth/authorize", |