Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit d76ba17

Browse files
authored
Add documentation about the send_scope_to_token_endpoint config property (jjbohn#52)
Co-authored-by: Luca Leonardo Scorcia <[email protected]>
1 parent d2c23d9 commit d76ba17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ These are the configuration options for the client_options hash of the configura
108108
that appears in the `user_info` details.
109109
* The `issuer` property should exactly match the provider's issuer link.
110110
* The `response_mode` option is optional and specifies how the result of the authorization request is formatted.
111+
* Some OpenID Connect providers require the `scope` attribute in requests to the token endpoint, even if
112+
this is not in the protocol specifications. In those cases, the `send_scope_to_token_endpoint`
113+
property can be used to add the attribute to the token request. Initial value is `true`, which means that the
114+
scope attribute is included by default.
111115

112116
For the full low down on OpenID Connect, please check out
113117
[the spec](http://openid.net/specs/openid-connect-core-1_0.html).

0 commit comments

Comments
 (0)