問題タブ [itfoxtec-identity-saml2]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
angular - Nuget ITfoxtec SAML & Angular
ナゲットの例で説明されている機能と、特にコアと角度の私の場合に問題があります。angular4 のフロントがあり、すべてのリクエストがそこを通過します。これを使用して Idp フォームにリダイレクトすると、彼から再度電話があり、アサーションが渡されます。angular で saml 応答をキャプチャして AssertionConsumerService メソッドに戻し、クレームを取得するにはどうすればよいですか?
アップデート: 呼び出しを直接バックに渡そうとしましたが、クレームを回復するときに次のエラーが発生しました: {"エラー":"IDX13102: Saml2SecurityToken の 'AuthnContext' の読み取り中に例外がスローされました。内部例外: 'System.ArgumentException: IDX13300: 'value' は絶対 URI でなければなりません。C:\agent1\_work\109\s\src\Microsoft の Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthenticationContext.set_ClassReference(Uri value) の 'XXX'\r\n でした。 IdentityModel.Tokens.Saml\Saml2\Saml2AuthenticationContext.cs: C:\agent1\_work\109\s\ の Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthenticationContext..ctor(Uri classReference, Uri definitionReference) の 108 行目\r\n src\Microsoft.IdentityModel.Tokens.Saml\Saml2\Saml2AuthenticationContext.cs:Microsoft.IdentityModel.Tokens.Saml2.Saml2Serializer の 77 行目\r\n。ReadAuthenticationContext(XmlDictionaryReader リーダー) in C:\agent1\_work\109\s\src\Microsoft.IdentityModel.Tokens.Saml\Saml2\Saml2Serializer.cs:line 661'."}
何か案は?