skip to Main Content

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


  1. 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.

    <a href="https://myurl.com?token=1234abds">Click me</a>
    

    An then have the receiving page check the token and login if it’s valid.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search