Z
ZITADEL
Z
ZITADEL
Making External users an IAM admin after authentication based on their email domain
Original message was deleted
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,316
Members
View on Discord
F
FFO
•
1/23/23, 9:19 AM
Just to make sure I understand that right
.
You want to check what domain the users email has and if it matches you want to send the user to google for SSO
, right
?
F
FFO
•
1/23/23, 1:58 PM
Ah I see
.
I think it would be possible but would need some workaround
We do not yet expose the full managment api in actions but you could work around this by using the rest API of ZITADEL with a PAT and the
https://zitadel.com/docs/apis/actions/modules#http
ZITADEL Docs
ZITADEL provides the following modules
.
F
FFO
•
1/23/23, 2:18 PM
yes
F
FFO
•
1/23/23, 2:18 PM
that should do the trick
F
FFO
•
1/23/23, 2:20 PM
Ah
, I forgot to mention to add IAM level management roles you need to use the admin API
F
FFO
•
1/23/23, 2:22 PM
F
FFO
•
1/23/23, 2:22 PM
https://editor.swagger.io/?url=https://zitadel.cloud/openapi/v2/swagger/admin.swagger.json