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

Replace references to "URL" by "URI" when resource identifiers are not required to be resource locators #1614

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

kevinchalet
Copy link
Member

In OAuth 2.0/OpenID Connect, most - if not all - of the endpoints/callbacks are defined by one or more URIs. While in most cases those URIs will be URLs, the specifications don't require it and URNs can be freely used when necessary.

OpenIddict itself heavily relies on System.Uri to represent these concepts but uses URL (or address) instead of URI in most of the error descriptions and exceptions. This PR fixes that by using the generic URI name instead of the more specific URL/address terms.

Note: this PR changes a few parameter names in the stores. Maintainers of community-driven stores will be encouraged to use the updated names for consistency (typically addresses -> uris) 😃

Related: #1613.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant