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

Check read access in websocket-pubsub #1484

Closed
wants to merge 3 commits into from

Conversation

michielbdejong
Copy link
Member

@michielbdejong
Copy link
Member Author

Interestingly I can't find a function that parses a given Authorization and DPop header combination.
I see getPermissionsFor in lib/header.js but it uses session.userId.
I can't see where session.userId gets set from the request headers.

@michielbdejong
Copy link
Member Author

Hm, could it be related to https://github.com/solid/node-solid-server/blob/master/lib/api/authn/webid-oidc.js#L121? Maybe that sets the userId in the express session?

@michielbdejong michielbdejong marked this pull request as draft October 19, 2020 13:25
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.

1 participant