anvilresearch / connect

A modern authorization server built to authenticate your users and protect your APIs
http://anvil.io
MIT License
361 stars 85 forks source link

Specifying 'query' response_mode still resulted in fragmented (#) response. #297

Closed tony-evans-enactus closed 8 years ago

tony-evans-enactus commented 8 years ago

The signin form was missing a hidden field for the response_mode parameter. Added it to allow caller to specify a response mode.

Also, made the addition conditional to match the SPEC which indicates to only include the parameter if it varies from the default. If the response_mode is not supplied to the signin form, it is not added to the authorization details.

christiansmith commented 8 years ago

Great catch! Thanks!