billions-mechanic-26704
10/07/2021, 2:20 PMpulumi login
against a specific organization?
pulumi login -c <https://app.pulumi.com/myorg>
Logging in using access token from PULUMI_ACCESS_TOKEN
error: problem logging in: getting user info from <https://app.pulumi.com/myorg>: unmarshalling response object: invalid character '<' looking for beginning of value
I have configured as environment variable in my shell the PULUMI_ACCESS_TOKEN
variable, but it seems that the response i got has to do with this comment in this issue https://github.com/pulumi/pulumi/issues/3194#issuecomment-892976293gentle-diamond-70147
10/07/2021, 4:19 PM/myorg
from the login url.billions-mechanic-26704
10/08/2021, 8:46 AMmyorg
because I want to login to an organization I was invited.
However if I remove it, I got a similar output
> pulumi login -c <https://app.pulumi.com/>
Logging in using access token from PULUMI_ACCESS_TOKEN
error: problem logging in: getting user info from <https://app.pulumi.com>: unmarshalling response object: invalid character '<' looking for beginning of value
pulumi login
i just will be redirected to be authorized in my cli to my default organization. In this way:
> pulumi login
Logging in using access token from PULUMI_ACCESS_TOKEN
Logged in to <http://pulumi.com|pulumi.com> as bgarcial (<https://app.pulumi.com/bgarcial>)
I was invited to my company organization and that is why I am using -c
flag, to pass the URL of my organization, but I got that error.gentle-diamond-70147
10/08/2021, 10:08 PMpulumi login
does not support logging directly into your company org, because pulumi user accounts can have multiple IdPs associated with them, and users can belong to multiple organizations.pulumi login <https://api.pulumi.com>
.