api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

Option to change notification templates to self-hosted Portal

Open Ledger94 opened this issue 2 years ago • 1 comments

Bug description

It doesn't seem possible to link notification templates to new portal when it is self-hosted in a storage account.

Reproduction steps

  1. Go to reset-password page
  2. Enter your email
  3. The sent email is associated with the managed portal.

Expected behavior

Option to change the template notifications to the self-hosted storage account

Is your portal managed or self-hosted?

Self-hosted

Release tag or commit SHA (if using self-hosted version)

2.17

Additional context

Specifically, I'm asking to change these kind of links in the APIM notification templates to the self-hosted Portal.

image

Ledger94 avatar Aug 12 '22 12:08 Ledger94

@Ledger94, thank you for opening this issue. We will triage it within the next few business days.

msftbot[bot] avatar Aug 12 '22 12:08 msftbot[bot]

@harunrst, can we solve this with app type setting? If yes, can you please advise what needs to be done?

azaslonov avatar Aug 25 '22 22:08 azaslonov

@Ledger94, we need more information before we start working on this issue. If you prefer to share it in private, please send us an email to [email protected] with the issue number in its subject.

msftbot[bot] avatar Aug 25 '22 22:08 msftbot[bot]

@azaslonov @harunrst Has there been any update related to this or do you need any more info from me? I'm thinking to include this feature an update to the APIM resource might be needed. Either an update to Notification templates: E-mail settings or on Portal settings.

Ledger94 avatar Sep 07 '22 23:09 Ledger94

Hi @Ledger94, Thanks for reaching out to us. If you are using only self-hosted, you can easily update the information as below. On Azure Portal, please navigate to Notification Templates/Password change confirmation. Here as you sent us, you can update the $ConfirmUrl as below:

<your_hostname>/confirm-v2/password?$ConfirmQuery

image

But if you have more than one developer portal and require them to have different templates, we need to make a feature work for it. Can you clarify your situation?

Sorry for the late reply.

harunrst avatar Sep 12 '22 09:09 harunrst

@harunrst I didn't realized that there was a way to just get the query without the URL so it should work for us. I am however still of the opinion that the ability to update the URL parameter would be useful feature for users that are self hosting or just the ability to create a custom parameters in the notification templates. This is however up to you and the development team of Portal. I appreciate the help and will go ahead and close the issue.

Ledger94 avatar Sep 12 '22 15:09 Ledger94