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

Add the possibility to set a custom user profile url #7488

Open
2 tasks done
nielsNocore opened this issue Mar 1, 2024 · 10 comments
Open
2 tasks done

Add the possibility to set a custom user profile url #7488

nielsNocore opened this issue Mar 1, 2024 · 10 comments
Assignees
Labels
enhancement New feature or request resources

Comments

@nielsNocore
Copy link

Preflight Checklist

  • I could not find a solution in the existing issues, docs, nor discussions
  • I have joined the ZITADEL chat

Describe your problem

Hi there,

When a users receives an email with a the notification that my password is changed, there is an login button the e-mail.
This login link will always direct the user to the user profile screen within Zitadel.
But we are building our own management UI within our application. and we would like to prevent users to login into zitadel.
https://zitadel.com/docs/guides/solution-scenarios/restrict-console restrict-console

Describe your ideal solution

We would like to set a custom URL in the button has a login with a redirect to a customized user profile URL,

Version

v2.44.1

Environment

Self-hosted

Additional Context

No response

@nielsNocore nielsNocore added the enhancement New feature or request label Mar 1, 2024
@hifabienne
Copy link
Member

Thank you for sharing your idea.
If there is a significant demand from customers/community, we will carefully consider implementing the feature.
Currently, the issue will be added to our product backlog to collect feedback.

Meanwhile, if you're interested in implementing it yourself, we also welcome pull requests.

@mjunker
Copy link

mjunker commented Mar 19, 2024

I have the same issue. In my case it would be enough if it would redirect to the "Default Redirect URI" which is configured in the org-settings. Everywhere else this is already the case, just not in the "password changed" notification email.

@fchopard-owt
Copy link

We have the same issue, using the Default Redirect URI whould be also a good option. Otherwise a new setting in the Appearance / Message texts > Password change notification would be also a nice way to configure this.

A lot of our customers click on this link, are redirected to the Zitadel console UI and then are lost, this cause a lot of support request for us.

@Yberion
Copy link

Yberion commented May 15, 2024

Same issue here.

@doncicuto
Copy link
Contributor

doncicuto commented May 16, 2024

Ok, @hifabienne has noticed me about this issue so I'll start working tomorrow on this issue as contributor, I'll post some screenshots here to check that we'll agree where this settings should be placed and work. @hifabienne you can assign this to me then 😄

@doncicuto
Copy link
Contributor

Hi there, I've some questions and decissions to discuss here as I'd like that the implemention makes everybody happy

Ok, in Zitadel we've many notification messages that have a button pointing to a Zitadel generated link for the purpose the message is sent. Do you want that all those messages buttons point to the same custom link, or do you want the option to set a link for each available message that has a button on it?

If you want that all buttons point to the same link, do you all agree that it should use the default redirect uri, or would it be better that the unique link could be different and therefore set by the user?

If you want the possibility to set different links for the different notification messages, would it be the same link for different languages or would you find a situation where the link may be set for a specific language?

I know that they may be silly questions but you know I may be missing something important and would prefer to get the ok before coding 😄

@fchopard-owt
Copy link

Hi,
On my side, using the default default redirect uri is already a nice improvement for all messages where a link is present, maybe a checkbox option should be added to enable this behavior.
Once this first step is implemented, then you could add a per message configuration which will allow the admin to override this behavior with a specific uri per message and per language, to be able to have links like acme.com/fr or acme.com/en working.
Anyway, thx for looking at this.

@nielsNocore
Copy link
Author

for us the default URL was almost good enough, only the notification mail that a password is changed would be nice to be customizable to redirect our own font end..

a customized URL for each message would be most flexible of course, but if this raises allot of issues, all urls send to the default url would be second best.

@doncicuto
Copy link
Contributor

Thanks both of you for your answers. If you don't mind I will prepare a couple of screenshots to get your feedback

@doncicuto
Copy link
Contributor

Then I propose to add a "buttonLink" text area in Appearance -> Message Texts so you can set a different url for all possible language and message combinations. I think this is fine as you'd expect to find the link option where the messages are set.

image

While that option gives the more flexibility it would be a little cumbersome to add those messages for every supported message so let's add the proposed checkbox if you're fine setting the same redirect URI for all messages.

image

If you are fine with that or do you propose further changes (all welcomed including texts :smile) let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resources
Projects
Status: 📨 Product Backlog
Development

No branches or pull requests

6 participants