Skip to content

Avoid use of term "scope" except in OAuth2 context - #20

Open
mbtaylor wants to merge 1 commit into
ivoa-std:mainfrom
mbtaylor:scope-to-domain
Open

mbtaylor wants to merge 1 commit into
ivoa-std:mainfrom
mbtaylor:scope-to-domain

Conversation

@mbtaylor

Copy link
Copy Markdown
Member

I had used the term scope/scoping to signify the set of endpoints for which a permit was applicable. However "scope" has a different meaning within OAuth2, so this presented possibility for confusion.

So this commit replaces non-OAuth2-related use of the term "scope" with "domain" instead. There is no change in the intent.

I also removed a couple of domain-related todo notes that probably don't need to be there any more.

I had used the term scope/scoping to signify the set of endpoints
for which a permit was applicable.  However "scope" has a different
meaning within OAuth2, so this presented possibility for confusion.

So this commit replaces non-OAuth2-related use of the term "scope"
with "domain" instead.  There is no change in the intent.

I also removed a couple of domain-related todo notes that probably
don't need to be there any more.
@mbtaylor

Copy link
Copy Markdown
Member Author

Related to this change: the term "domain-proxy check" is used in discusssion of Bearer Token handling. Since "domain-proxy" is not the same as "domain" I don't think that introduces too much confusion, but I don't understand where this term comes from (a quick google doesn't show it up used elsewhere) or what it means - e.g. what does "proxy" refer to here? @jesusjuansalgado if you can think of a better term than "domain-proxy check" maybe you could replace it with a commit to this PR, but if you're happy with it as it stands that's OK.

Either way, could you review this hopefully uncontroversial PR.

@esabol

esabol commented Sep 25, 2026

Copy link
Copy Markdown

Close duplicate PR #19?

@mbtaylor

Copy link
Copy Markdown
Member Author

Ha thank you @esabol I'd forgotten I'd already written this one. Close #19 as you suggest.

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.

2 participants