adfs4.0

ADFS 2016 X-Frame-Options to deny

谁说胖子不能爱 提交于 2020-04-16 02:27:10
问题 I'm using adal.js on my react app (using react-adal wrapper). I configured my app to work with my ADFS 2016 server (on premise), and the authentication process works fine, but after the ADFS SSO cookie expired, when the client sends the renew token request (in an hidden iframe), the browser shows in the console the following error: refuse to display 'https://myadfs/adfs/ls/SAMLRequest=...' in a new frame because it set 'X-frame-options' to deny. In order to reauthenticate, the user needs to

ADFS 2016 oAuth not redirecting to login page after logout

倖福魔咒の 提交于 2020-01-25 10:39:04
问题 I'm having a strange problem on ADFS 2016. I have an Angular application that uses ng2-adal js to handle authentication and authorization of the application. When users logout from the application, they are not redirected back to the login page. I enabled debug traces in Event Viewer for ADFS and the error is: OAuthSignoutProtocolHandler.ValidatePostLogoutRedirectUri: Validation result: False. RedirectUrl: http://localhost:4200/login The specified redirect URL did not match any of the OAuth

Do I need to use the Windows Identity Federation Utility to create a claims-aware asp.net web application?

拜拜、爱过 提交于 2020-01-05 05:57:11
问题 I built a claims-aware asp.net mvc application following the steps outlined in this page: https://docs.microsoft.com/en-us/dotnet/framework/security/how-to-build-claims-aware-aspnet-mvc-web-app-using-wif. The example in the page uses an STS on the local host, but in my application I am pointing to a fully-functioning AD FS on a different server. I'm using Framework 4.7 and Windows Server 2016 to host the AD FS and to host the web application. After I deployed the application I ran the Windows

Request access token with id_token, ADFS 2016 and react-adal

ⅰ亾dé卋堺 提交于 2019-12-31 05:20:09
问题 I've got a client side app which I'm authenticating with ADFS and react-adal and I've got most of it working but can't seem to find a way to request the access token (and therefore refresh token) with the id_token which is all I get in return from ADFS. At the moment the React app forwards the user to ADFS to sign in, this then authenticates the token and I want to be able to get the userinfo (Name, Surname, roles etc...) from the /adfs/userinfo endpoint but need the bearer token to do so.

ADFS 4 -'X-Frame-Options' to 'deny'

て烟熏妆下的殇ゞ 提交于 2019-12-23 20:50:39
问题 I have an aspx page embedded in Dynamics CRM. The aspx page uses openId and an adfs application group to authenticate and has been working up until security update KB4493473 (it is an assumption that the update is causing the issue). Prior to the update, when the user loaded the CRM form, the iframe would seamlessly load without issue or authentication prompts. Since the update, the console gives this message: 'https://sts... ... &x-client-SKU=ID_NET451&x-client-ver=5.2.1.0' in a frame