Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dynamic client_id ? #481

Open
ptgamr opened this issue Jun 2, 2021 · 0 comments
Open

Support dynamic client_id ? #481

ptgamr opened this issue Jun 2, 2021 · 0 comments

Comments

@ptgamr
Copy link

ptgamr commented Jun 2, 2021

Currently, we mount our app is mounted to a dynamic segment of the URL, what we would need to do is to use different client_id depending on the URL.

http://localhost:4200/namespace1 - use client_id = namespace1
http://localhost:4200/namespace2 - use client_id = namespace2
http://localhost:4200/namespace3 - use client_id = namespace3
...

It is not possible at the moment because the client_id is defined fixed inside environment.js file, and we only build 1 app. Would you have any suggestion how to achieve this? Can we somehow modify a config at runtime? or perhaps provide a function to get out values like: client_id, host, tokenEndpoint etc....

I might need some input here, happy to submit a PR once I know more about how the API should look like.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant