DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Accessing another site via a DNN site - how to validate a user?

 4 Replies
 2 Subscribed to this topic
 11 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 5
New Around Here

    Hi

    apologies in advance, i am not a developer! We have developers currently building some functionality for us and I am looking for some documentation/help..... our main site is a DNN one and users register accounts for secure access. The new functionality that we are adding will be accessed by a user clicking a button in our DNN site, which will take them to the new site. We need a way to authenticate those users on the new site, using their DNN credentials as we want this to be a seamless user experience.

    I am hoping that when a user gets passed to the new site, that the request could include a token of some sort that we can validate and use to verify their identity.
    (The token might be in a cookie or a url parameter or a header field for example.)

    When they are finished their tasks on the new site. they will click a link/menu item to return to where they came from in the DNN site and once again, we will need to know who has arrived on that page so we know what information can be shared with them.

    I hope that makes sense and if anyone can point me towards something that i can share with our developers I would be really grateful!

     

    Thanks!

    Lisa

     

     

    Advanced Member
    Posts: 214
    Advanced Member
      Is the other site DNN? If so, is it another portal of the same instance or another instance altogether?
      New Around Here
      Posts: 5
      New Around Here

        Hi Daniel - no the other site is not a DNN one.

        Advanced Member
        Posts: 214
        Advanced Member
          So it is a loaded question without all the details. But basically it would be some sort of SSO (Single Sign On). I think my recommendation would be to centralize the users outside of all systems (Active Directory or Auth0 or Amazon Cognito or something else). In DNN you can build authentication providers or buy pre-made ones. I can't speak for the other system.

          The recommendation could completely be different if the other system already has all users and it has a server-side SSO support like OAuth or JWT.

          But utltimatelly if you are not the developer, this would really be an advice you need to ask them as they probably have more details than us. From the DNN side of things, JWT is supported out of the box. OAuth has a provider in DNN but one needs to develop the authentication provider (or get an existing one).
          Veteran Member
          Posts: 341
          Veteran Member
            This appears to be a duplicate post of an earlier one - see https://dnncommunity.org/...-to-validate-a-user/

            David Poindexter


            Creator:


            These Forums are dedicated to the discussion of DNN Platform.

            For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

            1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
            2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
            3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
            4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            5. No Flaming or Trolling.
            6. No Profanity, Racism, or Prejudice.
            7. Site Moderators have the final word on approving / removing a thread or post or comment.
            8. English language posting only, please.

            Would you like to help us?

            Awesome! Simply post in the forums using the link below and we'll get you started.

            Get Involved