Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADFS #1

Open
gregorylmartin opened this issue Sep 10, 2014 · 1 comment
Open

ADFS #1

gregorylmartin opened this issue Sep 10, 2014 · 1 comment

Comments

@gregorylmartin
Copy link

I'm having a difficult time getting this sample to work with ADFS. On my iOS device, the login page is opened up (for my Active Directory). However, the app never seems to get to the "success" part of the code.

Any guidance would be most appreciated.

@AntonDobrev
Copy link
Contributor

Hello Greg,

I answered to your private support ticket, but I'd like to follow up with some questions:

  • Is the sample runnable with your AD FS configuration in the AppBuilder simulator and in other platforms (Android)?
  • Are you able to see any debug information in the console output of your AppBuilder client?
  • Can you open the authorization page and authenticate in Safari? Add the following code in identity-provider.js:
    ref = window.open(authorize_url, '_system', 'location=no');
    This code will open the authorization page in the system browser which may provide more information about the behavior.
  • Can you reach and get response from the authorization endpoint by opening the authorization URL directly in Safari (not from the app)?

I added some improvements in the logic of the app that help catch any errors in page loading (by subscribing to the 'loaderror' event).

Could you please try this on your side and tell me how it goes? I'd like to continue the communication in your private support ticket. Once the issue is resolved I will also post the result here.

Best,
Anton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants