RHSSO: Changing the links in emails

Posted on

In my current implementation, my application makes an api call to RHSSO's REST API to send an email to alert the user to reset their password.

The URL in the email would look like this:

http://[internal ip address and port]/auth/realms/MyRealm/login-actions/action-token?key=...

However, since it is an internal address, the user is enable to access it from his environment. I need the URL in the email to be using an external address instead. Is there a way this can be done?

https://[external address]/auth/realms/MyRealm/login-actions/action-token?key=...