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

Question: can assume onelogin user? #35

Closed
ZsoltPath opened this issue Apr 8, 2021 · 4 comments
Closed

Question: can assume onelogin user? #35

ZsoltPath opened this issue Apr 8, 2021 · 4 comments

Comments

@ZsoltPath
Copy link

Is it possible to assume a user with this package?
If not, would it be possible to add the feature?

The application would be same as in the web UI.

@pitbulk
Copy link
Contributor

pitbulk commented Jun 4, 2021

@ZsoltPath
Copy link
Author

Sorry, I think I was confusing.

I meant to assume another OL user and then assume the AWS role assigned to that user. As I could do this on the web console.

@pitbulk
Copy link
Contributor

pitbulk commented Jun 7, 2021

This AWS-CLI uses OL API to interact with its services.

In order to retrieve the SAMLResponse to be used at AWS, this API endpoint is used:
https://developers.onelogin.com/api-docs/1/saml-assertions/generate-saml-assertion

and that endpoint requires user username + password (+mfa). So it requires the user to know the other user credentials.

@ZsoltPath
Copy link
Author

OK. I thought if it's working on one platform, it could work on another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants