DuendeSoftware / Support

Support for Duende Software products
21 stars 0 forks source link

Looking for reference to Client Application Portal #1463

Open AdrianPell opened 13 hours ago

AdrianPell commented 13 hours ago

Which version of Duende IdentityServer are you using?

7.0.8

Which version of .NET are you using?

.NET 8

Describe the bug

Not a bug - more a documentation question.

The documentation makes a passing reference to a "Client Application Portal" on this page. However, I've looked through the Quickstarts ... and indeed all the samples ... and haven't found the reference to ~/portal.

Can you point me at some more information, please?

To Reproduce

Look on this page.

Expected behavior

A link from the page to the appropriate part of the Quickstart.

StuFrankish commented 12 hours ago

@AdrianPell - there's an example here; https://github.com/DuendeSoftware/IdentityServer/tree/main/hosts/EntityFramework/Pages/Portal

AdrianPell commented 11 hours ago

Ah thanks - I"ll take a look!

AdrianPell commented 2 hours ago

I've looked at that, and the functionality provided is quite limited - which is fair enough. However, I am really looking for something that might render pages differently depending on the signed-in user. In this case, that might be to only offer redirects to the appropriate services based, for example, on claims assigned to the user.

Is that something that could be possible? Currently, I'm having some difficulty getting any pages which are protected by Authorize attributes to actually render - even if there is a signed in user. I get into a login loop.

I did see the Admin area, alongside the Portal, which appears to be protected by authorization and has some very specific setup. Should I be trying something similar?

In the broader case, I'm heading toward something that might be considered a "store". Is it reasonable to co-locate that with the Identity Server, or should that be a separate application that, perhaps, uses Custom API calls to make the appropriate changes to the users (adding/removing claims, etc.)?

Apologies if this isn't the right place for this discussion.