# OpenID Connect debugging

**URL:** <https://forum.gitea.com/t/openid-connect-debugging/8496>\
**Category:** Install/Maintain/Configure\
**Created:** [January 29, 2024, 5:58am UTC](https://forum.gitea.com/t/openid-connect-debugging/8496 "2024-01-29T05:58:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmoffatt](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hmoffatt](https://forum.gitea.com/u/hmoffatt)\
**Post date:** [January 29, 2024, 5:58am UTC](https://forum.gitea.com/t/openid-connect-debugging/8496/1 "2024-01-29T05:58:50Z")

</div>

I’ve configured OpenID Connect to login and it’s working but I would like to see the details of the token so I can restrict access. Is there a way to have Gitea log the authentication results? I turned the log level up to Trace but it doesn’t add much detail.

I can’t see how to log it from Keycloak (my IDP) either.

---

<div class="post-metadata">

**Author:** ![hmoffatt](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hmoffatt](https://forum.gitea.com/u/hmoffatt)\
**Post date:** [January 29, 2024, 8:31am UTC](https://forum.gitea.com/t/openid-connect-debugging/8496/2 "2024-01-29T08:31:48Z")

</div>

Also, is there documentation for the authentication sources parameters? What is the “group claim value for restricted users” used for for example - what is a restricted user? How can I test that the user has a certain role in their list?
