- ABP Framework version: v8.1.0
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue: Hello
How to generate a login url with the tenant selected like below? "https://localhost:44387/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize%3Fresponse_type%3Dcode%26client_id%3DDemo_App%26state%3DZjVrWjh4ZT456978FaY34zd1dtR05Pd0JkVm0xVDkyZXZoUEY0empFeGVxNW8y;%25252F%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A4200%26scope%3Dopenid%2520offline_access%2520Demo%26code_challenge%3D35oANtgnbuoIhsr6542Hl52gEVvJkPKBuwVGxVyJMJ0%26code_challenge_method%3DS256%26nonce%3DZjVrWjh4ZTluSkFaY34zd1dt987450JkVm0xVDkyZXZoUEY0empFeGVxNW8y%26culture%3Den%26ui-culture%3Den%26returnUrl%3D%252F"
How can we send email with the above login url on add/register new user from application?
Thanks
3 Answer(s)
-
0
Hello,
please check similar issue https://support.abp.io/QA/Questions/5012/Invite-user-to-login-OR-have-email-address-domains-related-to-tenancy if it helps you.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello,
Thank you for support
I need a login URL and send an email include the URL. Users should click on the login url from email and redirect to the login page with the selected tenant.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
You can use the URL:
https://localhost:44387/Account/Login?returnUrl=http://localhost:4200/account/login&__tenant=test
- https://localhost:44387 is the Authserver URl
- http://localhost:4200 is the Angular URL
- __tenant=test is your tenant name
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)