Skip to content

[release/1.3 backport] Allow empty scope authorization#4422

Merged
estesp merged 1 commit intocontainerd:release/1.3from
kzys:backport-3889
Jul 29, 2020
Merged

[release/1.3 backport] Allow empty scope authorization#4422
estesp merged 1 commit intocontainerd:release/1.3from
kzys:backport-3889

Conversation

@kzys
Copy link
Copy Markdown
Member

@kzys kzys commented Jul 23, 2020

Backport of #3889.


Registries may allow using token authorization without
explicitly setting the scope. This may cover use cases where
no scope is required for an endpoint or the registry is only
covering authentication using the token. This aligns with the
oauth2 spec which specifies the scope as optional.

Signed-off-by: Derek McGowan [email protected]

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 23, 2020

Build succeeded.

@kzys
Copy link
Copy Markdown
Member Author

kzys commented Jul 24, 2020

The CI failure would be fixed by merging #4361, as like #4416.

@estesp
Copy link
Copy Markdown
Member

estesp commented Jul 28, 2020

#4361 is merged; would you rebase on release/1.3 for the CI fixes?

@kzys
Copy link
Copy Markdown
Member Author

kzys commented Jul 28, 2020

Great! Will do.

Registries may allow using token authorization without
explicitly setting the scope. This may cover use cases where
no scope is required for an endpoint or the registry is only
covering authentication using the token. This aligns with the
oauth2 spec which specifies the scope as optional.

Signed-off-by: Derek McGowan <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 28, 2020

Build succeeded.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@estesp estesp merged commit 59b7f64 into containerd:release/1.3 Jul 29, 2020
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.

4 participants