Skip to content

Rename spring-boot-starter-oauth2-oidc-client to spring-boot-starter-oauth2-client #14951

@vpavic

Description

@vpavic

I believe it would be better if the starter in subject is named spring-boot-starter-oauth2-client.

Arguments:

  • spring-boot-starter-oauth2-client is shorter, and therefore easier to remember than spring-boot-starter-oauth2-oidc-client
  • it would provide more consistency with other OAuth 2.0 related starters, e.g. spring-boot-starter-oauth2-resource-server that was proposed in Add starter for OAuth2 resource server #14950
  • it would provide more consistency with the underlying Spring Security module which is named spring-security-oauth2-client (and not spring-security-oauth2-oidc-client)
  • OpenID Connect is an extension of OAuth 2.0
    • to have it in starter name somewhat suggests that the starter is OpenID Connect focused
    • the starter is used for OAuth 2.0 login with providers that don't implement OpenID Connect, such as GitHub
    • the inclusion of spring-security-oauth2-jose dependency that starter pulls in, which is required for login with OpenID Connect compliant providers but not for ones like GitHub, shouldn't influence starter naming but rather be viewed as Boot's opinionated set of dependencies for OAuth 2.0 login feature
  • OIDC as an acronym is more colloquial rather than formal - the https://openid.net/connect/ website for instance has no mention of OIDC (not even in the page source 😉)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions