Is your feature request related to a problem? Please describe.
Support for custom authorize parameters would be helpful. For example, Google allows setting hd (hosted domain, or cloud organization domain) which helps guide the Google login.
https://developers.google.com/identity/openid-connect/openid-connect#hd-param
I would assume there are other IdPs with comparable customization options.
Describe the solution you'd like
To me, something like this would work splendidly:
openid:
...
custom_auth_params:
- "hd=myfancydomain.net"
- "display=popup"
...
Additional context
E.g. append &hd=myprivatedomain.net / custom_auth_params.join('&') (pseudocode) to the line below would fix my particular issue:
|
window.location.href = `/auth/openid/authorize?client_id=${clientId}&redirect_uri=${redirectUri}&base_url=${baseUrl}${stateParam}${clientStateParam}`; |
Is your feature request related to a problem? Please describe.
Support for custom authorize parameters would be helpful. For example, Google allows setting
hd(hosted domain, or cloud organization domain) which helps guide the Google login.https://developers.google.com/identity/openid-connect/openid-connect#hd-param
I would assume there are other IdPs with comparable customization options.
Describe the solution you'd like
To me, something like this would work splendidly:
Additional context
E.g. append
&hd=myprivatedomain.net/custom_auth_params.join('&')(pseudocode) to the line below would fix my particular issue:hass-openid/custom_components/openid/authorize.js
Line 65 in ad82b1e