There is no general 'client portal' feature in Jira. The closest native thing is the Jira Service Management customer portal, which lets external customers raise and track requests without a licence — but it's a service desk, not a project view. If you want clients to collaborate in a project, guest access fits; if you want them to see status without an account, that needs a published view or a summary.
There are two ways to bring an external person into Jira: add them as a guest, which scopes them to a single space and is available on paid plans, or license them as a full user. Guest access is the least-privilege option and the right default for a contractor or client who needs to work in one project. Both require a site admin to invite and both require the person to have an Atlassian account.
A Jira link only works for someone with an Atlassian account, access to your site, and browse permission on that project. External people have none of those by default, so they hit a login wall or a 'you don't have permission' error. The options are to license them, use guest access on a paid plan, or send the information rather than the link.