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

Merge Down #5

Merged
merged 3 commits into from
Jun 4, 2024
Merged

Merge Down #5

merged 3 commits into from
Jun 4, 2024

Conversation

nickmitchko
Copy link
Owner

No description provided.

kangmingtay and others added 3 commits June 3, 2024 17:43
## What kind of change does this PR introduce?
* Currently, when the "Unacceptable audience in id_token" error is
returned, it doesn't log the audience claim from the id token, which
makes it hard to debug. The audience claim from the id token is now
logged as well when this error is returned.
* Adds a basic test for the generic id token oidc `getProvider()`
method, since we currently have 0 coverage for this file
* The test also uncovered a possible nil pointer panic in the case of
the generic OIDC provider being returned since in the generic case, the
`oauthConfig` will be nil. Rather than returning the `oauthConfig`, we
only need to return the `skipNonceCheck` property since we only check
for that.
## What kind of change does this PR introduce?
This makes the emails to be explicitly set to be HTML formatted instead
of plain text which helper older clients that cannot figure this out
themselves.

## What is the current behavior?

Email messages are sent as plain/text. 

## What is the new behavior?

Feel free to include screenshots if it includes visual changes.

## Additional context

Add any other context or screenshots.
## What kind of change does this PR introduce?
* Bump alpine version to v3.20.0 to resolve an openssl vuln
* Bump go to v1.22
@nickmitchko nickmitchko merged commit 3c31c4b into nickmitchko:master Jun 4, 2024
2 of 3 checks passed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 9367376346

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 12 of 20 (60.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-8.2%) to 57.593%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/api/token_oidc.go 6 14 42.86%
Files with Coverage Reduction New Missed Lines %
internal/api/token_oidc.go 1 16.76%
Totals Coverage Status
Change from base Build 9321705601: -8.2%
Covered Lines: 8507
Relevant Lines: 14771

💛 - Coveralls

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.

4 participants