You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`matlab-proxy` is a web server and that allows one to start and access MATLAB on the machine the server is running on. Anyone with access to the server can access MATLAB and thereby the machine on which its running.
67
67
68
-
`Token-Based Authentication` is enabled by default and the server will require a token to authenticate access. This token can be provided to the server in a few ways:
68
+
`Token-Based Authentication` is enabled by default and the server requires a token to authenticate access. Users can provide this token to the server in the following ways:
69
69
70
-
1.Through the [URL parameter](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) : `mwi_auth_token`. Example:
70
+
1.Use the [URL parameter](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) : `mwi-auth-token`. Example:
71
71
```html
72
-
https://localhost:8888/?mwi_auth_token=abcdef...
72
+
https://localhost:8888/?mwi-auth-token=abcdef...
73
73
```
74
-
Once provided, this information is cached in the browser and will be used in subsequent interactions
74
+
The browser caches the token for subsequent interactions.
75
75
76
-
2. Through the auth token input field in the Status Information dialogue box that is presented when the user is not already logged in.
76
+
2. Use the auth token input field in the Status Information dialogue box that appears when the user is not already logged in.
> :warning: `matlab-proxy` version v0.16.0 and later require you to provide the token name in the URL or header with hyphens instead of underscores, for example `mwi-auth-token` instead of `mwi_auth_token`.
85
86
86
87
**NOTE** : Its highly recommended to use this feature along with SSL enabled as shown [here](#use-token-authentication-with-ssl-enabled).
87
88
88
-
### **Use with auto-generated tokens**
89
+
### **Use auto-generated tokens**
89
90
90
-
When enabled, `matlab-proxy` will require the URL to specify the access token using the [query component](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) `mwi_auth_token`.
91
+
When enabled, `matlab-proxy` requires the URL to specify the access token using the [query component](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) `mwi-auth-token`.
91
92
92
93
Example:
93
94
@@ -96,13 +97,13 @@ Example:
96
97
# Start matlab-proxy with Token-Based Authentication enabled by default
97
98
$ matlab-proxy-app
98
99
99
-
# The access link is presented in the terminal upon startup like follows:
title='MATLAB is currently open in another window'
167
168
cancelButton={wasEverActive ? ('Cancel') : ('Continue in existing window')}
168
-
confirmButton={wasEverActive ? ('Confirm') : ('Continue in this window')}>
169
+
confirmButton={wasEverActive ? ('Confirm') : ('Continue in this window')}>
169
170
{wasEverActive
170
171
? 'You have been disconnected because MATLAB is open in another window. Click on Confirm to continue using MATLAB here.'
171
-
: <div>MATLAB is open in another window and cannot be opened in a second window or tab at the same time.<br></br>Would you like to continue in this window?</div>}
172
+
: <div>MATLAB is open in another window and cannot be opened in a second window or tab at the same time.<br></br>Would you like to continue in this window?</div>}
0 commit comments