make other org as a default organization
I have integrated okta for authentication, whenever I open url its redirecting to okta identity(sso) and then its login to default organization and creates new user. when I switch to other org , that user wont be exist. Since we are going to use other organization , where can I change like whenever user authneticate okta it should reditect to my other org and create user account there.
since I integrated with okta (sso) , I cant register manually,
@kevgliss @mvilanova any idea on this
Hi @kevgliss any idea how to make default org to other organization, once it authenticate with okta its redirecting into the default org only, how to change this behaviour
hello team,
i also have similar use case where I want to give couple of users to have owner permission on another organization(other than default org). how can we do that?
@csetarun2
Hi @kevgliss any idea how to make default org to other organization, once it authenticate with okta its redirecting into the default org only, how to change this behaviour
Just to be clear you wish that on login you are able to configure which organization a user should be redirected to? We do have this flag on the organization's model but it looks like the frontend doesn't currently take this into account. I can make that change but I want to make sure that fits your requirement.
Thanks @kevgliss :) is there any db table where I can manually add users record in the db recordset. Before it get resolve I will add our users manually in db tables, so they can able to auth and test.
We currently only have the ability to update a user's role via the CLI. I can add an option to create a new user from the cli as well.
Usage: dispatch user update [OPTIONS] EMAIL
Updates a user's roles.
Options:
-o, --organization TEXT Organization to set role for. [required]
-r, --role [Owner|Manager|Admin|Member]
Role to be assigned to the user. [required]
--help Show this message and exit.
It will be helpful, Thanks @kevgliss :)
I created the CLI command here: https://github.com/Netflix/dispatch/pull/3292
You also have the option of going to the register url https://<dispatchUirl>/<organizationSlug>/auth/register for that organization if you have registration enabled (probably not if you have SSO)
Let me see if I can make the SSO redirect respect the original URL such that if you are on /org1/incidents and are presented with a SSO it will send you back to /org1/incidents instead of /default/incidents.
Hi @kevgliss
can we get this feature working in GUI please?
if this can be added to next release would be awesome. I would love to see new users getting added to custom organization using Dispatch GUI.
@manireddyk Sorry, I was OOO last week and we have a an offsite this week, I will circle back on this next week.
no problem, Thank you for all the work.
can you please give us option to keep custom as default organization please?
@manireddyk I've created #3397 which will allow you to create users manually via the membership UI. I will take a look at the SSO redirect in a separate PR.
This issue is stale, because it has been open for 30 days with no activity. Remove the stale label or comment, or this will be closed in 5 days.
This issue was closed, because it has been stalled for 5 days with no activity.