FIX: correct default cis webhook audience
https://github.com/mozilla/discourse/issues/184
This commit is contained in:
Родитель
3b0df9af18
Коммит
316f713485
|
@ -16,5 +16,5 @@ mozilla_iam:
|
|||
default: 'https://person-api.sso.mozilla.com'
|
||||
shadowed_by_global: true
|
||||
mozilla_iam_notification_aud:
|
||||
default: "hook.prod.sso.mozilla.com"
|
||||
default: "hook.sso.mozilla.com"
|
||||
shadowed_by_global: true
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# name: mozilla-iam
|
||||
# about: A plugin to integrate Discourse with Mozilla's Identity and Access Management (IAM) system
|
||||
# version: 1.1.8+cis-webhook
|
||||
# version: 1.1.9+cis-webhook
|
||||
# authors: Leo McArdle
|
||||
# url: https://github.com/mozilla/discourse-mozilla-iam
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ describe MozillaIAM::NotificationController, type: :request do
|
|||
let(:jwt) do
|
||||
create_jwt({
|
||||
iss: 'https://auth.mozilla.auth0.com/',
|
||||
aud: 'hook.prod.sso.mozilla.com',
|
||||
aud: 'hook.sso.mozilla.com',
|
||||
exp: Time.now.to_i + 7.days,
|
||||
iat: Time.now.to_i,
|
||||
}, {
|
||||
|
|
Загрузка…
Ссылка в новой задаче