# OpenID met line.biz - e-mail in JWT, ontbreekt in userinfo

**URL:** <https://meta.discourse.org/t/openid-with-line-biz-email-in-jwt-missing-in-userinfo/238789>\
**Category:** Product Support\
**Tags:** openid-connect\
**Created:** [12 september 2022 om 15:21 UTC](https://meta.discourse.org/t/openid-with-line-biz-email-in-jwt-missing-in-userinfo/238789 "2022-09-12T15:21:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![trffh](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@trffh](https://meta.discourse.org/u/trffh)\
**Post date:** [13 september 2022 om 08:22 UTC](https://meta.discourse.org/t/openid-with-line-biz-email-in-jwt-missing-in-userinfo/238789/2 "2022-09-13T08:22:12Z")

</div>

Ok, I got it. Maybe not the best solution but because the plugin is using the JWT data if the userinfo endpoint isn’t available, I forked the plugin on github and set in:

discourse-openid-connect/lib/omniauth\_open\_id\_connect.rb

line 18 - option :use\_userinfo, to false instead of true.

That’s it.

It would be nice to have an option in the settings of the plugin to choose between userinfo or JWT response.

---

_[View the full topic](https://meta.discourse.org/t/openid-with-line-biz-email-in-jwt-missing-in-userinfo/238789)._
