Skip to main content
Community site session details

Community site session details

Session Id : FF2Wej20QHmLESitWCpgo9
Power Pages - Power Apps Portals
Answered

Making custom authentication for Portal

Like (0) ShareShare
ReportReport
Posted on 1 Sep 2020 09:55:10 by 37

Hi guys,

 

I want to make authentication for guest. Is it possible to make our own authentication or sending an OTP for the user? thanks a lot!

  • tirrr Profile Picture
    37 on 02 Sep 2020 at 07:47:40
    Re: Making custom authentication for Portal

    thanks @justinburch  for your insight. it is very helpful.

  • Verified answer
    justinburch Profile Picture
    Microsoft Employee on 02 Sep 2020 at 05:41:19
    Re: Making custom authentication for Portal

    Hi @tirrr,

     

    That makes sense - as far as being "too expensive", I assume you've taken a look at the pricing documentation and how anonymous users could rack up page view allocation quickly? I would still recommend using the true authentication experience.

    Regardless, as far as the problem statement, there is no such thing as "guest access," but you could simulate the experience. Note that it will be time consuming as far as dev effort, and will expose information because you will not be able to truly rely on permissions to drive data.

     

    Thoughts:

    • Create a system process to generate a unique identifier/token
    • Share token with the user via email as well as a link to the record with the token in the URL
    • Using the same principles I've described here for controlling edit vs. read-only, attempt to make custom connections to records via the token
      • In liquid, identify current record & association to a contact via the token to either show the entity form/entity list/etc or an error/record not found message
    • Make sure all links utilize passing the request parameters between pages (might require updating all of your Web Templates)

    Concerns:

    • If token/URL is shared, anyone can access
    • Won't be able to filter entity lists based on Contact relationship
    • Won't be able to truly drive permissions or track

    I hope this helps,

    Justin

  • tirrr Profile Picture
    37 on 02 Sep 2020 at 02:12:31
    Re: Making custom authentication for Portal

    @justinburch thanks for your reply. yes you are correct. I want to give users a temporary access but not using authentication in power portal. because it will be very costly if every user have to register and sign in with the built in authentication in power portal.  

  • justinburch Profile Picture
    Microsoft Employee on 01 Sep 2020 at 15:44:53
    Re: Making custom authentication for Portal

    Hi @tirrr,

     

    If I understand it correctly, you want to grant someone temporary access? Is it based on a single session, single record, time limit, etc?

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 01 Sep 2020 at 11:19:10
    Re: Making custom authentication for Portal

    Hi

     

    can you explain a bit further:

     

    if you want to learn more about Power Apps Portals Authentication in general, I will be doing a session next Saturday the 5th on that topic: https://events.powercommunity.com/power-apps-portal-saturday/

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35

Loading started