の検索結果 :
×Blazor SAML シングル サインオン (SSO) このモジュールは、Blazor アプリケーションの SAML シングル サインオンを有効にする機能を提供します。シングル サインオンを使用すると、Blazor アプリケーションとサービスにアクセスするために 1 つのパスワードだけを使用できます。私たちのモジュールは、SAML 準拠のすべての ID プロバイダーと互換性があります。
IdP が見つからない場合は、 お問い合わせ先 aspnetsupport@xecurify.com IdP での ASP.NET Core SSO のセットアップをすぐにお手伝いします。
using miniorange.saml public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddSession(); services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(); services.AddControllersWithViews(); } public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) { app.UseHttpsRedirection(); app.UseStaticFiles(); app.UseRouting(); app.UseAuthorization(); app.MapRazorPages(); app.UseCookiePolicy(); app.UseAuthentication(); app.UseminiOrangeSAMLSSOMiddleware(); app.Run(); } }
using Microsoft.AspNetCore.Authentication.Cookies; using miniOrange.saml; var builder = WebApplication.CreateBuilder(args); builder.Services.AddRazorPages(); // Add authentication services builder.Services.AddminiOrangeServices(Assembly.GetExecutingAssembly()); var app = builder.Build(); if (!app.Environment.IsDevelopment()) { app.UseExceptionHandler("/Error"); app.UseHsts(); } app.UseHttpsRedirection(); app.UseRouting(); app.UseAuthorization(); app.MapRazorPages(); app.UseCookiePolicy(); app.UseAuthentication(); app.UseStaticFiles(); app.UseminiOrangeSAMLSSOMiddleware(); app.Run(); app.useantiforgery();
https://<blazor-application-base-url>/?ssoaction=config
注意: プラグインのインストール後、Blazor アプリケーションと ID プロバイダーの間の信頼をセットアップする必要があります。 SAML メタデータは ID プロバイダーと共有されるため、シングル サインオンをサポートするように組み込みの構成を更新できます。
ミドルウェアで SAML ID プロバイダーのメタデータを構成するには、以下に詳しく説明する 2 つの方法があります。
string name=""; string claimtype=""; string claimvalue=""; if(User.Identity.IsAuthenticated) { foreach( var claim in User.Claims) { claimtype = claim.Type; claimvalue = claim.Value; } retrive custom attributes(for eg. Retrieve Mapped 'mobileNumber' attribute of your IDP) var identity = (ClaimsIdentity)User.Identity; IEnumerable claims = identity.Claims; string mobileNumber = identity.FindFirst("mobileNumber")?.Value; }
https://base-url/?ssoaction=login&appid=[Your-Application-ID]
<a href=”https://base-url/?ssoaction=login”>Log
in</a>
設定することもできます Blazor SAML シングル サインオン (SSO) などのアイデンティティプロバイダーを使用して ADFS、Azure AD、Bitium、Centrify、G Suite、JBoss Keycloak、Okta、OneLogin、SalesForce、AWS Cognito、OpenAM、Oracle、PingFederate、PingOne、RSA SecureID、Shibboleth-2、Shibboleth-3、SimpleSAML、WSO2 またはあなた自身のものでも カスタム ID プロバイダー.
Blazor アプリケーションに対してシングル サインオン (SSO) を実行して、アプリケーションを保護します。次のようなレガシー アプリケーションを統合するためのモジュールもあります。 Active Directory、SiteMinder、Radius、Unix、 その他。 SAML、OAuth、OpenID、ADFS、および WSFED プロトコルを使用して、ASP.NET アプリケーションにログイン/認証を追加することができます。
IDプロバイダーが見つからない場合は、aspnetsupport@xecurify.comまでメールでお問い合わせください。IDPとのSSO設定をサポートし、お客様の要件に関する迅速なガイダンス(メールまたは会議)を提供いたします。また、お客様の要件に最適なソリューション/プランの選択を弊社のチームがお手伝いいたします。
助けが必要? 私たちはここにいます!
お問い合わせありがとうございます。
24 時間以内に当社からのご連絡がない場合は、お気軽にフォローアップ メールを送信してください。 info@xecurify.com
リクエストが失敗しました。
メールを送信してみてください info@xecurify.com
