Skip to content

Commit f58e09f

Browse files
authored
Merge pull request #363 from FlowFuse/user-role-auth
Add user role in auth object
2 parents 395de62 + ce168c8 commit f58e09f

File tree

4 files changed

+49
-9
lines changed

4 files changed

+49
-9
lines changed

lib/plugins/node_modules/@flowfuse/flowfuse-auth/adminAuth.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/plugins/node_modules/@flowfuse/flowfuse-auth/httpAuthMiddleware.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/plugins/node_modules/@flowfuse/flowfuse-auth/strategy.js

Lines changed: 43 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/template/template-settings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ if (settings.flowforge.httpNodeAuth?.user && settings.flowforge.httpNodeAuth?.pa
212212
// pathname (ie '/') from this URL - the domain/etc is not used.
213213
baseURL: 'https://example.com/',
214214
forgeURL: settings.flowforge.forgeURL,
215+
teamID: settings.flowforge.teamID,
215216
clientID: settings.flowforge.httpNodeAuth.clientID,
216217
clientSecret: settings.flowforge.httpNodeAuth.clientSecret
217218
})

0 commit comments

Comments
 (0)