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

UI Prompts for client app reg details when AUTO_WORKSPACE_APP_REGISTRATION=true #2112

Closed
marrobi opened this issue Jun 24, 2022 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@marrobi
Copy link
Member

marrobi commented Jun 24, 2022

AUTO_WORKSPACE_APP_REGISTRATION=true

image

Believe this line: azure_ad_properties = read_schema('azuread.json') in https://github.com/marrobi/AzureTRE/blob/main/api_app/services/schema_service.py#L53

needs to be conditional.

@ross-p-smith do you agree?

@marrobi marrobi added the bug Something isn't working label Jun 24, 2022
@marrobi marrobi added this to the Release 0.4 milestone Jun 24, 2022
@tamirkamara
Copy link
Collaborator

tamirkamara commented Jun 26, 2022

  1. I don't know exactly what it's doing but looks like it validates the app somehow. If you use another guid it will still return an error:
    Unable to get app info for app: 4509bf1c-0000-0000-0000-6bbae15fb00c
  2. It doesn't look like this param is wired to anything but the auth-setup scripts. Are we saying this is a system wide decision - either the tre is auto-aad or not?
  3. Finally, is it correct to say all workspaces need client id/secret?

@tamirkamara
Copy link
Collaborator

@marrobi, probably this will help you as it has for me:
https://github.com/marrobi/AzureTRE/blob/main/api_app/db/repositories/workspaces.py#L101

but I think we need to discuss this a bit further...

@martinpeck
Copy link
Member

cc @ross-p-smith

@ross-p-smith
Copy link
Contributor

I think that it would be nice to have conditional UI elements. We could also do the same with address_space too. Currently we are not using AUTO_WORKSPACE_APP_REGISTRATION at run time. It's used in make_auth. If we were to check this then it would prevent me from creating a workspace of each type in the same instance.

@tamirkamara
Copy link
Collaborator

The UI now has a default for the auto-create option and doesn't ask for the id/secret.

@tamirkamara tamirkamara closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants