AddIDPLink Failing with COMMAND-39nf2
Env: Self-hosted
Version: Latest
Stack: Docker here (using k8s in prod)
I'm trying to link a user to an IDP account, but I'm getting some trouble.
My flow is like this:
1. User enters loginName
2. Create session, get userId, OrgId (and from that, login policy)
3. Get IDP id from login policy
4. Begin IDP intent
5. When that comes back, since
6. Fetch the IDP intent response (to get idpUserId, idpUsername etc.)
7. Try to add link using the above.
8. Use in session flow
Everything up to 7 seems to be working as expected.
The login policy pulled for my user looks like:
But when I go to link, I get the following error:
With Zitadel logging:
The orgId here is correct, the id in the path is correct (the user=<id> is my login client service user) - so I'm not really sure what the issue is?
Am i doing something fundamentally wrong here? Or is this a bug?
Version: Latest
Stack: Docker here (using k8s in prod)
I'm trying to link a user to an IDP account, but I'm getting some trouble.
My flow is like this:
1. User enters loginName
2. Create session, get userId, OrgId (and from that, login policy)
3. Get IDP id from login policy
4. Begin IDP intent
5. When that comes back, since
userId is not given as a param, try to register user to idp:6. Fetch the IDP intent response (to get idpUserId, idpUsername etc.)
7. Try to add link using the above.
8. Use in session flow
Everything up to 7 seems to be working as expected.
The login policy pulled for my user looks like:
But when I go to link, I get the following error:
With Zitadel logging:
The orgId here is correct, the id in the path is correct (the user=<id> is my login client service user) - so I'm not really sure what the issue is?
Am i doing something fundamentally wrong here? Or is this a bug?
