Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
17.07k stars 1.31k forks source link

[QUESTION] How should I share a working authentik OIDC configuration? #1664

Closed dasunsrule32 closed 1 month ago

dasunsrule32 commented 1 month ago

Question

I'm opening this up because I worked on getting authentik working with Dashy last night. I'm authenticating successfully and it's picking up groups successfully. I can hide pages/sections, etc based on authentik group membership.

The only thing I haven't figured out is how to differentiate admins and users. I am looking for information on that if you could share how I can do that in Dashy. Maybe assigning an OIDC group to a type: admin. Not sure if that is implemented or not.

How would you like this information shared with the community? I can open a PR against the docs and add it there if you'd like. Thank you in advance.

Category

Authentication

Please tick the boxes

CrazyWolf13 commented 1 month ago

Hi Thanks!

Yeah the best will probably be to add this to the authentication docs on the oidc section in a subsection examples -> authentik.

Feel free to clone make the changes, push and open a PR.

For the differation from admin and user I allow myself to ping @twsouthwick as he was so kind and made this PR.

Thanks!

dasunsrule32 commented 1 month ago

Thank you. I hope there is a way differentiate. I'll open a PR with the documentation changes.

dasunsrule32 commented 1 month ago

I created a PR for the authentik documentation changes.

https://github.com/Lissy93/dashy/pull/1667

CrazyWolf13 commented 1 month ago

As the PR got merged, I'll close this. Thanks again! ✨

dasunsrule32 commented 1 month ago

Should I open a separate question about the roles and being able to set admins via groups or users by using the type: config?

CrazyWolf13 commented 1 month ago

Oh apologies, overlooked that it's also an issue, due to the nature of this thread and it being tagged as question, I'd rather create a new one, and directly tag twsouthwick

dasunsrule32 commented 1 month ago

Done. https://github.com/Lissy93/dashy/issues/1675