# 「OpenID Connect 認証パラメータ」フィールドのフォーマット

**URL:** https://meta.discourse.org/t/format-for-openid-connect-authorize-parameters-field/234513
**Category:** Support
**Tags:** openid-connect
**Created:** [2022 年 7 月 30 日午前 11:47 UTC](https://meta.discourse.org/t/format-for-openid-connect-authorize-parameters-field/234513 "2022-07-30T11:47:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jgmvdmeer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jgmvdmeer/32/269022_2.png) [@jgmvdmeer](https://meta.discourse.org/u/jgmvdmeer)
#### Post date: [2022 年 7 月 30 日午前 11:47 UTC](https://meta.discourse.org/t/format-for-openid-connect-authorize-parameters-field/234513/1 "2022-07-30T11:47:23Z")

</div>

openid-connect プラグインのユーザーです。セットアップは非常に簡単でした。  
承認 URL に追加のパラメーターが必要です。  
具体的には、kc\_idp\_hint=hbso です。  
設定で考えられるすべての仕様バリエーションを試しましたが、URL に何も表示されませんでした。  
おそらく何か間違っているのでしょうか？  
現在、omniauth\_openid\_connect.rb の ‘def authorize\_params’ 関数でハックして解決しました。  
ここで session[‘omniauth.kc\_idp\_hint’] = params[:kc\_idp\_hint] = ‘hbso’ を追加しました。  
しかし、適切な設定フィールドを使用できるはずだと思います。
