wadahiro / keycloak-discord

Keycloak Identity Provider extension for Discord
121 stars 64 forks source link

How to configure Guild Checking? #24

Closed KaratekHD closed 1 year ago

KaratekHD commented 2 years ago

From what I understand from the README it appears there is an option for only allowing members of certain guilds to log in into Keycloak using this Provider. However, I can't find the option to specify the guilds allowed: image

Could you please point me in the right direction on where I can configure this feature? Thank you!

shibacomputer commented 1 year ago

Also having this issue!

wadahiro commented 1 year ago

@KaratekHD @shibacomputer

Sorry for the late response. This problem is due to the use of the new admin console. Unfortunately, this extension is not compatible with the new admin console.

It can be configured by setting --features-disabled=admin2 when Keycloak is started, or by setting keycloak to "Admin console theme" in the master realm's theme settings and reverting to the old admin console.

I will try to implement the new admin console support. Thanks for the feedback!

wadahiro commented 1 year ago

I will try to implement the new admin console support.

Unfortunately, even the latest Keycloak v20 does not support custom provider settings in the new admin console.

https://github.com/keycloak/keycloak/issues/17958

We need to wait first for the new admin console side to be fixed.

shibacomputer commented 1 year ago

Thanks for following up @wadahiro, I appreciate it! I will keep an eye on https://github.com/keycloak/keycloak/issues/17958 also

wadahiro commented 1 year ago

Although https://github.com/keycloak/keycloak/issues/17958 was closed, now the issue is discussed in https://github.com/keycloak/keycloak/issues/15344.

chris-sanders commented 1 year ago

I notice both of the linked issues are now closed. I've been unable to get version 21.1.2 to startup with the suggested them or admin2 disables. The theme causes an internal error and disabling admin2 seems to just turn admin off all together.

Is this now possible with the above issues closed or is there any way I can manually configure this even without display in the UI? I'm running the bitnami chart if that matters at all.

wadahiro commented 1 year ago

I confirmed the problem was resolved by the following pull requests:

I created a pull request for support keycloak 22 and the new admin console: #37

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 0.5.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: