⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@joachimvh
Copy link
Contributor

Updates the access request implementation to work with PATs to ensure only resource owners can accept requests. The access request documentation has been updated accordingly.

Some of the changes here are definitely not perfect, but, in my opinion, improvements that get the requests working better and more stable until a more comprehensive refactor is possible. To do the latter the internals of the policy API will also have to be updated.

One of the main changes is that a request is now made by POSTing a JSON object with the target resource and scopes, instead of a full turtle document containing details that should be generated by the server. The disadvantage is that this can be restrictive for more advanced use cases, but for now this should suffice. There is something to be said for just allowing the user to submit full policies to be accepted in the future.

PAT data is now supported, so only actual resource owners can accept requests.

Besides that there are various minor updates in the relevant classes to have more correct output.

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