-
Notifications
You must be signed in to change notification settings - Fork 167
Improve Logging of OIDC Token Event #5485
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,12 +22,12 @@ en: | |
| id_token_hint: id_token_hint was not recognized | ||
| token: | ||
| errors: | ||
| expired_code: is expired | ||
| invalid_aud: Invalid audience claim, expected %{url} | ||
| invalid_authentication: Client must authenticate via PKCE or private_key_jwt, | ||
| missing either code_challenge or client_assertion | ||
| invalid_code: is invalid either because it expired, or it doesn’t match any | ||
| user. Please see our documentation at | ||
| https://developers.login.gov/oidc/#token | ||
| invalid_code: is invalid because doesn’t match any user. Please see our | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have a translation request out for the separated error messages
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added in 88122d3 |
||
| documentation at https://developers.login.gov/oidc/#token | ||
| invalid_code_verifier: code_verifier did not match code_challenge | ||
| invalid_iat: iat must be an integer or floating point Unix timestamp | ||
| representing a time in the past | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -102,7 +102,7 @@ | |
|
|
||
| it 'is invalid' do | ||
| expect(valid?).to eq(false) | ||
| expect(form.errors[:code]).to include(t('openid_connect.token.errors.invalid_code')) | ||
| expect(form.errors[:code]).to eq([t('openid_connect.token.errors.expired_code')]) | ||
|
||
| end | ||
| end | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.