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

authenticate: always trust the passed in idp #3917

Merged
merged 1 commit into from Jan 31, 2023

Conversation

calebdoxsey
Copy link
Contributor

Summary

When using the authenticate service, always associate the login with the identity provider id chosen by the proxy. This way the authenticate service idp credentials don't have to match the proxy idp credentials.

Related issues

Fixes https://github.com/pomerium/internal/issues/1256

Checklist

  • reference any related issues
  • updated unit tests
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey added bug Something isn't working backport 0-21-0 labels Jan 27, 2023
@calebdoxsey calebdoxsey requested a review from a team as a code owner January 27, 2023 20:52
@coveralls
Copy link

Coverage Status

Coverage: 63.216% (-0.009%) from 63.225% when pulling d4571fb on cdoxsey/authenticate-trust-idp into 447e38f on main.

Copy link
Contributor

@desimone desimone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

@calebdoxsey calebdoxsey merged commit 54676af into main Jan 31, 2023
@calebdoxsey calebdoxsey deleted the cdoxsey/authenticate-trust-idp branch January 31, 2023 01:59
calebdoxsey added a commit that referenced this pull request Jan 31, 2023
authenticate: always trust the passed in idp (#3917)

Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 0-21-0 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants