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

Simplify access token spec #40

Merged
merged 3 commits into from
Jul 30, 2020
Merged

Simplify access token spec #40

merged 3 commits into from
Jul 30, 2020

Conversation

lidel
Copy link
Member

@lidel lidel commented Jul 28, 2020

This simplifies authorization logic and removes the surface for leaking token via URL as noted in #37 (comment)

Pinning Services only need to implement support for the HTTP header.

PREVIEW: https://bafybeib4xyzuzrsk5pl5vvqt6mwlor2w2xj6b6yqj7lgqrlhoafgmgaoey.ipfs.dweb.link/#specUrl=https://raw.githubusercontent.com/ipfs/pinning-services-api-spec/remove-auth-parameter/ipfs-pinning-service.yaml

Closes #37 cc @obo20 @GregTheGreek @priom @jsign @sanderpick @andrewxhill

@lidel lidel force-pushed the remove-auth-parameter branch from f29b07f to e7944c0 Compare July 28, 2020 11:56
This simplifies authorization logic and removes the surface for leaking
token via URL as noted in
#37 (comment)

It also fixes backlinks in the human-readable docs

Closes #37
@lidel lidel force-pushed the remove-auth-parameter branch from e7944c0 to 7174f51 Compare July 28, 2020 12:08
@lidel lidel changed the title Remove auth parameter Simplify access token spec Jul 28, 2020
@lidel lidel requested a review from a team July 28, 2020 12:47
Copy link
Collaborator

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

Small language suggestions, otherwise this looks good to me.

ipfs-pinning-service.yaml Outdated Show resolved Hide resolved
lidel and others added 2 commits July 28, 2020 17:07
@lidel lidel merged commit 3f981ff into master Jul 30, 2020
@lidel lidel deleted the remove-auth-parameter branch July 30, 2020 12:09
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.

Authorization safety
2 participants