-
Notifications
You must be signed in to change notification settings - Fork 69
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
Extend rhoas login by supporting SSO client id an secret #1579
Comments
While request can be done on the RHOAS CLI side. I'm not sure if we will support two types of login: --token (offline token) Moving to client-id is quite simple and natural choice but it it kinda exceeded scope of RHOAS CLI. This is more or less RHOAS SDKs/RHOAS ecosystem question. How we want to login for automation purposes etc. @akoserwal Do you think we can we use service accounts to obtain AccessToken that will work with all fleet managers we have? |
FYI @gowriswarupk |
@apodhrad You can use the sso service account with ocm client for the requests to the control plane api. But it requires some claim configuration for your service account (sso mapper). I can help with getting it configured. In the near future, rhosak will support the new sso service account api (self service) |
Worth to mention that current solution is to use offline refresh token (and CLI supports it already by |
Hi @akoserwal @wtrocki thanks for your quick response. Today I have found out that Thus, using an sso service account would require an org mapping - is that the mapping you have mentioned? |
After discussion with @akoserwal we agreed that this request makes sense once we deal with the mas-sso. I'm ok with that as we can use the token approach. Please add proper labels according to your workflow. |
Yes. All you need is https://cloud.redhat.com/openshift/token |
Feature or problem description
Some teams use SSO service accounts which can be authenticated against sso.redhat.com but cannot be used for any "web page" loging and cannot obtain a token (pls correct me if I'm wrong).
Such service accounts are used for logging to OCM as follows
Could we have something similar for
rhoas
, please?The text was updated successfully, but these errors were encountered: