DeveloperTools icon indicating copy to clipboard operation
DeveloperTools copied to clipboard

Permissions when using Okta SSO

Open ethan-schofer opened this issue 2 years ago • 4 comments

I have a site using Okta for SSO and I am having some issues related to permissions. The Developer link is not appearing in the Menu, but I do have myself with the Role 'Administrators'. Thats all I seem to need based on the documentation? But I dont see the menu item.

ethan-schofer avatar Apr 14 '23 15:04 ethan-schofer

This is default policy (https://github.com/episerver/DeveloperTools/blob/master/EPiServer.DeveloperTools/Infrastructure/Configuration/IServiceCollectionExtensions.cs#L13) that's added when plugin is configured.

And then this policy is used in menu provider: https://github.com/episerver/DeveloperTools/blob/master/EPiServer.DeveloperTools/MenuProvider.cs#L48

One way to verify would be to create some custom controller with custom action and check the policy in that endpoint.

valdisiljuconoks avatar Apr 16 '23 17:04 valdisiljuconoks

That policy is not getting applied, the developertools policy. I think thats why I cant see the menu.

ethan-schofer avatar Apr 17 '23 12:04 ethan-schofer

Is the policy executed successfully in your custom endpoint?

valdisiljuconoks avatar Apr 17 '23 13:04 valdisiljuconoks

Honestly, Im not 100% how to check. When I check the end point I see two authorization policies, neither of which has anything to do with the developer tools. But Im not confident I have checked the right thing.

Ethan Schofer


Technical Architect

Philadelphia

+1 215 508 1800 ext. 191

Latest perspective: Creating Experiences of Truth & Beauty https://herodigital.com/insights/truth-beauty/

On Mon, Apr 17, 2023 at 9:09 AM valdis iljuconoks @.***> wrote:

Is the policy executed successfully in your custom endpoint?

— Reply to this email directly, view it on GitHub https://github.com/episerver/DeveloperTools/issues/55#issuecomment-1511311424, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFR6XPKF4QPSXGN43JWZUDXBU6H5ANCNFSM6AAAAAAW6RDSAE . You are receiving this because you authored the thread.Message ID: @.***>

ethan-schofer avatar Apr 17 '23 13:04 ethan-schofer