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

fix: fix not working insecure login #738

Merged
merged 1 commit into from
Jun 22, 2021
Merged

Conversation

craicoverflow
Copy link
Contributor

@craicoverflow craicoverflow commented Jun 22, 2021

Use oauth2.HTTPClient to perform login
As the go-oidc provider can obtain the custom transport layer
from the context

Closes #

Verification Steps

Run login against a custom auth URL:

./rhoas login --auth-url "https://keycloakexternal.apps.akoserwa.ipt.integrations.rhmw.io/auth/realms/redhat-external" --insecure

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation change
  • Other (please specify)

Checklist

  • Documentation added for the feature
  • CI and all relevant tests are passing
  • Code Review completed
  • Verified independently by reviewer

Use oauth2.HTTPClient to perform login
As the go-oidc provider can obtain the custom transport layer
from the context
@craicoverflow
Copy link
Contributor Author

cc @akoserwal

@craicoverflow craicoverflow changed the title fix(serviceaccount reset-credentials): validate serviceaccount ID in prompt (#720) fix: fix not working insecure login Jun 22, 2021
@akoserwal
Copy link
Contributor

Verified. it works

@craicoverflow craicoverflow marked this pull request as ready for review June 22, 2021 10:03
@craicoverflow craicoverflow merged commit ca3b0aa into develop Jun 22, 2021
@craicoverflow craicoverflow deleted the insecure-login branch June 22, 2021 10:04
craicoverflow pushed a commit that referenced this pull request Jun 30, 2021
craicoverflow pushed a commit that referenced this pull request Jun 30, 2021
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

Successfully merging this pull request may close these issues.

2 participants