Spring Social
  1. Spring Social
  2. SOCIAL-306

Send additional parameters on authorization URL during provider sign in

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      ProviderSignInController currently calls the 2-argument implementation of ConnectSupport#buildOAuthUrl(), which assumes null for the parameters. This prevents use of ProviderSignInController for providers such as Flickr that allow/require additional non-spec parameters to be passed to the provider during authorization.

      To support those providers, ProviderSignInController should allow for passing of custom parameters to the provider via the authorization URL.

        Activity

        Hide
        Manoj Gupta added a comment -

        Similar issue with linkedin API, Kindly either provide workaround.

        Show
        Manoj Gupta added a comment - Similar issue with linkedin API, Kindly either provide workaround.
        Hide
        Craig Walls added a comment -

        ProviderSignInController now passes the additional parameters to the buildOAuthUrl() method.

        Show
        Craig Walls added a comment - ProviderSignInController now passes the additional parameters to the buildOAuthUrl() method.

          People

          • Assignee:
            Craig Walls
            Reporter:
            Craig Walls
          • Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: