I need to generate a unique link so that when the user clicks through it, it will appear on a certain page. However, the user cannot directly navigate through it if he simply drives in the URL address in the address bar.
Why do you need it? For example, beta access to some site. The user sends a request, the admin sends him a unique link to the mail, clicking on which, the user is on the registration page.
As far as I understand, it is necessary to generate some kind of token, pass it to the link itself as a parameter, and then do the check in the component.
But how to implement it in the second Angular? In particular, how to transfer a token as a parameter?