Allow to launch RS apps from dashboard
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Râu Cao
2023-11-19 19:10:13 +01:00
parent 713e91a720
commit aa399b862a
7 changed files with 54 additions and 53 deletions

View File

@@ -23,7 +23,7 @@ class RemoteStorageAuthorization < ApplicationRecord
after_destroy :remove_token_expiry_job
def url
# TODO use web app scope in addition to host
# TODO use web app scope in addition to host/client_id
uri = URI.parse self.redirect_uri
"#{uri.scheme}://#{client_id}"
end