Skip to content

Conversation

dmitrizagidulin
Copy link
Contributor

Refactor/fix to take into account changes to the RP Session object. Also, set up session.credential property as described in the request flow doc.

Fixes #27 and downstream nodeSolidServer/node-solid-server#720

@dmitrizagidulin
Copy link
Contributor Author

cc @kjetilk / @RubenVerborgh for review.

authorization: rpSession.authorization
}
} catch (err) {
let error = new Error('Could not verify Web ID from token claims')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why no HttpError as in the other lib?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just haven't introduced it into this repo yet.

@dmitrizagidulin dmitrizagidulin merged commit 80860f8 into master Jul 2, 2018
@dmitrizagidulin dmitrizagidulin deleted the fix-init-session-user-auth branch July 2, 2018 19:00
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

Successfully merging this pull request may close these issues.

Fix AuthCallbackRequest.initSessionUserAuth
2 participants