single-sign-on

SAP SAML authentication doesn't accept WS-TRUST URI token

时间秒杀一切 提交于 2020-04-17 04:17:23
问题 We have a SSO setup between SAP Netweaver and ADFS (acting as the STS). So, some user will login on a custom ASP.Net application and this application will request a SAML assertion from ADFS to access the SAP system. The thing is that according to SAP documentation the relying party identifier of the SAP system is not an URL (its just a name), and that way is specified en ADFS (eg: SAPSYSTEMRPID). How on earth I can get a token issued using WS-TRUST (which is what ADFS provides) when the

Accessing network responses in Cypress.io

早过忘川 提交于 2020-03-23 12:21:09
问题 I'm working on testing an OpenID Connect service, using Code and Implicit Flow. I would really like to be able to access the messages I get back from the service, especially the 303 See Other message which has the ID Token. If someone can advise on how to get to response messages I would really appreciate it. Since the services exposes a HTML login page what happens is a cy.get("#loginButton").click() so I don't send a cy.request() and that is because I want to test login using the front-end.

Android AccountManager across apps: uninstalling the first app that registered the account causes the account to be deleted?

↘锁芯ラ 提交于 2020-03-17 10:54:08
问题 What we want to achieve: cross app single sign on We have 2 apps (app A and app B) that we would like to share the same user account. That is, when a user logs into app A, they will be automatically logged in app B, and the other way around. What we have done We created a custom authenticator (extending AbstractAccountAuthenticator etc) to retrieve auth tokens from our service to ensure users are logged into our apps. We pulled the authenticator into two different apps (app A and app B) that

Shibboleth SSO CORS error

非 Y 不嫁゛ 提交于 2020-02-28 09:49:51
问题 Our app(AngularJS + REST) is protected by Shibboleth service provider for SSO. The issue is we are seeing CORS errors when trying to make ajax calls for the REST services, saying the redirect to IDP failed "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at" However if we refresh/reload the browser everything works fine. I believe the cookie is not created first time around, and got created after force reload. Obviously this is not acceptable

WAAD doesn't refresh access token from javascript

谁说我不能喝 提交于 2020-02-25 23:09:05
问题 For applications that authenticate users with Windows Azure Active Directory(WAAD), unable to refresh token from javascript. All the resources are protected by Authorize attribute makes calls to login.windows.net/{0} if token is expired. If the request is from page load it works as expected but if the request is from javascript ajax call it is unable make call to login.windows.net/{0}. It returns with status 302 and message XMLHttpRequest cannot load https://login.windows.net/xxx. No 'Access

How authorization endpoint knows user is logged in?

两盒软妹~` 提交于 2020-02-25 13:09:36
问题 I am implementing single sign-in with OAuth2 and OpenID Connect for a distributed web application. The Authorization Server is running on its own. I've implemented the access token endpoint and currently trying to implement the authorization endpoint (for Authorization Code flow). This is my understanding of what should happen GET http://authserver/authorize?client_id=1& state=BB& _________ scope=read_user& ____________ | | redirect_uri=myapp/callback | | | |----------------------------------

How authorization endpoint knows user is logged in?

允我心安 提交于 2020-02-25 13:06:06
问题 I am implementing single sign-in with OAuth2 and OpenID Connect for a distributed web application. The Authorization Server is running on its own. I've implemented the access token endpoint and currently trying to implement the authorization endpoint (for Authorization Code flow). This is my understanding of what should happen GET http://authserver/authorize?client_id=1& state=BB& _________ scope=read_user& ____________ | | redirect_uri=myapp/callback | | | |----------------------------------

HTML PHP google single sign on signout will throw “Cannot read property 'getAuthInstance' of undefined”

前提是你 提交于 2020-02-18 05:53:21
问题 I have created google single sign on by following steps mentioned in https://developers.google.com/identity/sign-in/web/sign-in The sign in works like a charm but when i try to integrate sign out as per the article in the link i get the following javascript error in console Uncaught TypeError: Cannot read property 'getAuthInstance' of undefined And my signout function looks like <script> function signOut() { var auth2 = gapi.auth2.getAuthInstance(); auth2.signOut().then(function () { console

ExpiredTokenException when I SAML SSO login AWS from my local IdP

感情迁移 提交于 2020-02-16 06:53:49
问题 I'm building a IdP in my local and I configured the IdP in AWS IAM settings, now I'd like to start an IdP initial SSO from my local and login AWS, however the error always shows in AWS page: Response has expired (Service: AWSSecurityTokenService; Status Code: 400; Error Code: ExpiredTokenException; Request ID: 18fc7e20-97eb-11e9-97e4-0f55a663916e). Please try again. error page screenshot What should I do for this situation? Any help would be appreciated. Here is the SAML Response <saml2p

Windows AD single sign on using javascript and node

一笑奈何 提交于 2020-02-10 09:02:37
问题 I am in the process of implementing a single page app based on Angular and Node.js, running on a Windows Server within a corporate Windows Active directory domain environment. I know that it is possible to authenticate via AD (by passing a username and password) with the assistance of node packages such as "passport-ldapauth" and "node-activedirectory". My question is: what would be the most feasible/straight-forward way of implementing single sign-on functionality, so that a user that had