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

SessionIndex is optional #62

Closed
oldshuren opened this issue Apr 7, 2016 · 3 comments
Closed

SessionIndex is optional #62

oldshuren opened this issue Apr 7, 2016 · 3 comments

Comments

@oldshuren
Copy link

I think SessionIndex in the response is optional. But now get_session_index() throws an error if SessionIndex is missing

@ashein
Copy link

ashein commented Jul 25, 2016

This one. The schema states that the session attribute is optional, and some IdPs (e.g. salesforce) don't generate any indices here, so such valid asserts fail from the module's standpoint.

@cozmo
Copy link
Contributor

cozmo commented Jul 26, 2016

Hey folks, you're correct that SessionIndex is optional, however for our use cases it's always provided (and we rely on that behavior for a few pieces of functionality) so I do not think we're going to be able to prioritize a fix here.

However we'd be more than happy to accept and review a PR that enables SessionIndex to be optional (maybe behind a flag?).

@cozmo
Copy link
Contributor

cozmo commented Aug 4, 2016

Thanks to @jalleyne and #73 we now have an require_session_index option that's been deployed as version 1.8.0 on NPM. Closing this ticket now, but please comment/re-open if there's any issues with this. Thanks again to @jalleyne

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

3 participants