|
@@ -411,7 +411,9 @@ module.exports = class ProviderView {
|
|
|
|
|
|
handleAuth () {
|
|
handleAuth () {
|
|
const authState = btoa(JSON.stringify({ origin: location.origin }))
|
|
const authState = btoa(JSON.stringify({ origin: location.origin }))
|
|
- const link = `${this.provider.authUrl()}?state=${authState}`
|
|
|
|
|
|
+ // @todo remove this hardcoded version
|
|
|
|
+ const clientVersion = 'companion-client:1.0.2'
|
|
|
|
+ const link = `${this.provider.authUrl()}?state=${authState}&uppyClient=${clientVersion}`
|
|
|
|
|
|
const authWindow = window.open(link, '_blank')
|
|
const authWindow = window.open(link, '_blank')
|
|
const handleToken = (e) => {
|
|
const handleToken = (e) => {
|