Fix bug that prevents users from creating a new oauth application (#1706)

4 jobs for 1706-fix-application-creation in 7 minutes and 8 seconds (queued for 25 seconds)
Name Stage Failure
eslint Lint
  160:26  error  Trailing spaces not allowed  no-trailing-spaces

✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.

error Command failed with exit code 1.
info Visit for documentation about this command.
Cleaning up file based variables
ERROR: Job failed: exit code 1