How to do configuration for auth ? #2884
Unanswered
luddwskater
asked this question in
Q&A
Replies: 1 comment
-
Hi @luddwskater , I don't know what appsettingsProvider does, hence I can only give a general advice.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to fetch client_id and authority from json file. This doesn't work as appsettingsProvider.getClient() calls from Luigi before fetch for json file is ready. Is any way to get value for client_id ... from json file ?
import { appsettingsProvider } from './appsettings-provider';
class Auth {
disableAutoLogin = false;
oidcAuth = {
RequirePkce: true,
response_mode: "fragment",
loadUserInfo: true,
client_id: appsettingsProvider.getClient(),
redirect_uri: appsettingsProvider.getRedirectUri(),
Beta Was this translation helpful? Give feedback.
All reactions