I would like to place a link on a web page that, when clicked, opens another web page (Atlassian Confluence) in a new window. A given user should then already be logged in to this website.
I know that HTTP requests can be used to specify an authentication method. But how does this work from HTML/Javascript with a link?
Many thanks and best regards
I googled the problem but got no solution.
2
Answers
You could pass a token or even credentials in the url. This is not a very secure way, but without knowing your needs it could be something like.
An then have the receiving page check the token and login if it’s valid.
You can check for this link: https://auth0.com/docs/authenticate/passwordless/authentication-methods/email-magic-link
But if you want to code all the auth bussiness, you should hash your user id then with a get method with a very huge security problem.