mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
fix: set jwt auth for custom apps
This commit is contained in:
@@ -60,7 +60,9 @@
|
||||
|
||||
async function loadApp() {
|
||||
if (parsedCustomPath.jwt) {
|
||||
OpenAPI.TOKEN = 'jwt_ext_' + parsedCustomPath.jwt
|
||||
const token = 'jwt_ext_' + parsedCustomPath.jwt
|
||||
OpenAPI.TOKEN = token
|
||||
setContext<{ token?: string }>('AuthToken', { token })
|
||||
jwtError = false
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user