mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
login.gov first time workflow notify-api-1250
This commit is contained in:
@@ -58,10 +58,7 @@ def invite_user_to_org(organization_id):
|
|||||||
else invited_org_user.invited_by.name
|
else invited_org_user.invited_by.name
|
||||||
),
|
),
|
||||||
"organization_name": invited_org_user.organization.name,
|
"organization_name": invited_org_user.organization.name,
|
||||||
"url": invited_org_user_url(
|
"url": "https://idp.int.identitysandbox.gov/openid_connect/authorize?acr_values=http%3A%2F%2Fidmanagement.gov%2Fns%2Fassurance%2Fial%2F1&client_id=urn:gov:gsa:openidconnect.profiles:sp:sso:gsa:test_notify_gov&nonce=01234567890123456789012345&prompt=select_account&redirect_uri=http://localhost:6012/set-up-your-profile&response_type=code&scope=openid+email&state=abcdefghijklmnopabcdefghijklmnop", # noqa
|
||||||
invited_org_user.id,
|
|
||||||
data.get("invite_link_host"),
|
|
||||||
),
|
|
||||||
}
|
}
|
||||||
saved_notification = persist_notification(
|
saved_notification = persist_notification(
|
||||||
template_id=template.id,
|
template_id=template.id,
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ def _create_service_invite(invited_user, invite_link_host):
|
|||||||
personalisation = {
|
personalisation = {
|
||||||
"user_name": invited_user.from_user.name,
|
"user_name": invited_user.from_user.name,
|
||||||
"service_name": invited_user.service.name,
|
"service_name": invited_user.service.name,
|
||||||
"url": invited_user_url(invited_user.id, invite_link_host),
|
"url": "https://idp.int.identitysandbox.gov/openid_connect/authorize?acr_values=http%3A%2F%2Fidmanagement.gov%2Fns%2Fassurance%2Fial%2F1&client_id=urn:gov:gsa:openidconnect.profiles:sp:sso:gsa:test_notify_gov&nonce=01234567890123456789012345&prompt=select_account&redirect_uri=http://localhost:6012/set-up-your-profile&response_type=code&scope=openid+email&state=abcdefghijklmnopabcdefghijklmnop", # noqa
|
||||||
}
|
}
|
||||||
|
|
||||||
saved_notification = persist_notification(
|
saved_notification = persist_notification(
|
||||||
|
|||||||
Reference in New Issue
Block a user