# Dotcms - theme: class completion & oauth plugin

**URL:** <https://community.dotcms.com/t/dotcms-theme-class-completion-oauth-plugin/260>\
**Category:** Product Discussions\
**Tags:** developer, headless\
**Created:** [January 12, 2026, 10:39am UTC](https://community.dotcms.com/t/dotcms-theme-class-completion-oauth-plugin/260 "2026-01-12T10:39:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![soudin](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.dotcms.com/soudin/32/209_2.png) [@soudin](https://community.dotcms.com/u/soudin)\
**Post date:** [January 12, 2026, 10:39am UTC](https://community.dotcms.com/t/dotcms-theme-class-completion-oauth-plugin/260/1 "2026-01-12T10:39:44Z")

</div>

Hi dotCMS community 👋 ,

I’m testing dotCMS for our project and have two quick questions:

1. **Layout Customization:** How can I enable CSS class autocompletion for users when editing layouts? I followed [the docs](https://dev.dotcms.com/docs/designing-a-template-with-a-theme#ClassSuggestions) but couldn’t get it to work.

2. **Keycloak Authentication:** I tried [the OAuth plugin](https://github.com/dotcms-community/plugin-dotcms-oauth?tab=readme-ov-file) (I use Keycloak for central auth), but it didn’t work out of the box. Should I build a custom solution, or is there a better approach?

**Details:**

- dotCMS version: 25.07.10\_lts\_v4

- docker compose

Thanks for any tips or experiences you can share!

Best, Simon

---

<div class="post-metadata">

**Author:** ![MarcBoutillette](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.dotcms.com/marcboutillette/32/16_2.png) [@MarcBoutillette](https://community.dotcms.com/u/MarcBoutillette)\
**Post date:** [January 15, 2026, 9:28pm UTC](https://community.dotcms.com/t/dotcms-theme-class-completion-oauth-plugin/260/2 "2026-01-15T21:28:18Z")

</div>

Hi Simon, apologize for the delay in response. I reached out to the engineering team to get you some answers and they will respond in the next day.

Cheers, Marc

---

<div class="post-metadata">

**Author:** ![MarcBoutillette](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.dotcms.com/marcboutillette/32/16_2.png) [@MarcBoutillette](https://community.dotcms.com/u/MarcBoutillette)\
**Post date:** [January 16, 2026, 3:04pm UTC](https://community.dotcms.com/t/dotcms-theme-class-completion-oauth-plugin/260/3 "2026-01-16T15:04:39Z")

</div>

Hi Simon, on the second one - Will took a look and his advice is to take the OAuth plugin and customize it to your specific need. The other approach you could take is to use Keycloak + SAML. Hope this helps, let us know how it works out and if you run into other issues here.

Regarding the first question, Jalinson will post a video soon that should help you out.

Cheers,  
Marc

---

<div class="post-metadata">

**Author:** ![Jalinson\_Diaz](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.dotcms.com/jalinson_diaz/32/155_2.png) [@Jalinson\_Diaz](https://community.dotcms.com/u/Jalinson_Diaz)\
**Post date:** [January 16, 2026, 4:39pm UTC](https://community.dotcms.com/t/dotcms-theme-class-completion-oauth-plugin/260/4 "2026-01-16T16:39:15Z")

</div>

Hi Simon, I recorded a short video of how to setup the autocomplete for style classes on the layout editor.

Here is the link: [https://drive.google.com/file/d/1eW6375d2Y1dqo7sqNqagdzj1Z2Sox\_YX/view?usp=sharing](https://drive.google.com/file/d/1eW6375d2Y1dqo7sqNqagdzj1Z2Sox_YX/view?usp=sharing)

Hope it helps!

Best regards,  
Jalinson
