🐛 Fix oidc services didn't registered
This commit is contained in:
parent
60a8338c9a
commit
b868d0c153
@ -109,7 +109,9 @@ public class OidcController(
|
|||||||
{
|
{
|
||||||
"apple" => serviceProvider.GetRequiredService<AppleOidcService>(),
|
"apple" => serviceProvider.GetRequiredService<AppleOidcService>(),
|
||||||
"google" => serviceProvider.GetRequiredService<GoogleOidcService>(),
|
"google" => serviceProvider.GetRequiredService<GoogleOidcService>(),
|
||||||
// Add more providers as needed
|
"microsoft" => serviceProvider.GetRequiredService<MicrosoftOidcService>(),
|
||||||
|
"discord" => serviceProvider.GetRequiredService<DiscordOidcService>(),
|
||||||
|
"github" => serviceProvider.GetRequiredService<GitHubOidcService>(),
|
||||||
_ => throw new ArgumentException($"Unsupported provider: {provider}")
|
_ => throw new ArgumentException($"Unsupported provider: {provider}")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user