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

meteor-ad-sso #7

Open
ghost opened this issue Nov 16, 2015 · 3 comments
Open

meteor-ad-sso #7

ghost opened this issue Nov 16, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 16, 2015

Hi,

I'm trying to use your package but I need some help. In your instructions, it says change config.json. Now I don't find config.json anywhere. Can you please tell me the location of config.json. Where exactly do I have to modify? Is it in meteor or in iisnode?

Configure config.json as instructed below

Also, on github page, under configuration section, it says to change in template and put {{> adsso}} to activate sso. Can you please tell me the path? I didn't find any templates. I'm using default telescope project.

Also, where can I find client/sso.js and server/sso.js. I'm assuming I have to create sso.js but I don't see client and server directories. Where can I find them?

Your help is greatly appreciated.

@mortomanos
Copy link

Have a look at the pictures in the sub-folder, that gives some more information. That helped a lot in my situation.

@ghost
Copy link
Author

ghost commented Nov 23, 2015

Thanks for your response. I looked at the pictures and now I'm able to do most of the things.

But still need some clarifications on few items. In the pictures, it says 3 more virtual directories in IIS - auth, sso, ssoauth. It doesn't say where to point these to physical paths. For ssoauth it says c:\program files\iisnode\ssoauth but there is no ssoauth directory in iisnode installation.

So I created all 3 virtual directories to point to c:\program files\iisnode. And was able to get the login prompt on localhost:3000.

After logging in, I get following debug message: "Unrecognized options for login request". Attached is my client\sso.js.
sso.txt

I20151123-16:55:26.294(0)? Processing loginRequest: { authId: '2b81a692-847a-4d1a-bac1-e72113877f5f' }
I20151123-16:55:26.295(0)? No auth token: { authId: '2b81a692-847a-4d1a-bac1-e72113877f5f' }
I20151123-16:55:26.295(0)? login failed.
I20151123-16:55:26.295(0)? { '0':
I20151123-16:55:26.295(0)? { type: 'unknown',
I20151123-16:55:26.295(0)? allowed: false,
I20151123-16:55:26.295(0)? methodName: 'login',
I20151123-16:55:26.296(0)? methodArguments: [ [Object] ],
I20151123-16:55:26.296(0)? error:
I20151123-16:55:26.296(0)? { [Error: Unrecognized options for login request [400]]
I20151123-16:55:26.296(0)? error: 400,
I20151123-16:55:26.296(0)? reason: 'Unrecognized options for login request',
I20151123-16:55:26.296(0)? details: undefined,
I20151123-16:55:26.296(0)? message: 'Unrecognized options for login request [400]',
I20151123-16:55:26.297(0)? errorType: 'Meteor.Error' },
I20151123-16:55:26.297(0)? connection:
I20151123-16:55:26.297(0)? { id: 'p9jA69DeRxAesZ9dq',
I20151123-16:55:26.297(0)? close: [Function],
I20151123-16:55:26.297(0)? onClose: [Function],
I20151123-16:55:26.297(0)? clientAddress: '127.0.0.1',
I20151123-16:55:26.297(0)? httpHeaders: [Object] } } }

Any help is greatly appreciated.

Thanks

@mortomanos
Copy link

Can you access your iis URL using a browser on http://server/basepath/iisnode? There you should be able to see the iis log files if you configured debug. If not, try to put the project in the iisnode folder and point your virtual directory to the directory where the index.js is and adjust the rights so iisnode (iis) can create a directory.

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

1 participant