‣畍瑬瑩湥湡䅴浤湩
- Every JD now has a unique, non-guessable public link (token) generated at creation.
- Public link format:
/api/jd/:token - When a user visits this link:
- If authenticated, they are redirected to the JD detail page.
- If not authenticated, they are redirected to the registration page, with the JD token preserved for post-registration redirect.
- The token is stored in the
publicTokenfield of the JD document.
- Share the link
/api/jd/<token>with candidates or users. - After registration/login, redirect the user to the JD detail page using the token.