Uploaded image for project: 'Agorava'
  1. Agorava
  2. AGOVA-52

Support to programmatically control callback URL pr auth request

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.6.1
    • Fix Version/s: 0.7.0
    • Component/s: Core API, Core impl
    • Labels:
      None

      Description

      When a User attempts to login from URL x/y/z within the application, Agorava will send a URL to the auth service with a application scoped callback URL.

      It would be useful define a dynamic callback URL; e.g. return the User to where he attempted to login from (referer)

      Possible API could be:

        service.getAuthorizationUrl(URL callbackURL)
      

      That would allow you to programmatically pr AUth Request setup the callback:

      response.sendRedirect(
        service.getAuthorizationUrl(
          request.getHeader("referer")
        )
      );
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                antoinesabot-durand Antoine Sabot-Durand
                Reporter:
                aslak Aslak Knutsen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: