Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22907

Allow to submit only one time the OAuth 2 grant form

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: OAuth

      Description

      After submitting the form, either granting or denying access, the form should not be able to be submitted again.

      With jQuery, something like that should do the trick:

      var submitted = false;
      $jQuery("#form").submit(function(evt) {
        if (submitted) {
          evt.preventDefault();
        }
        return submitted = true;
      });
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.