kare / ngx_http_auth_crowd_module

Provides Crowd authentication for Nginx
Other
37 stars 16 forks source link

Update ngx_snprintf format for change in type of "token" #8

Closed jwodder closed 6 years ago

jwodder commented 6 years ago

The token parameter of validate_sso_session_token() was changed to an ngx_str_t* in #7, and so the ngx_snprintf format template that consumes it needs to use %V instead of %s. I believe that this mistake is what's causing the module in our instance to send malformed POST requests to $CROWD_URL/rest/usermanagement/latest/session/ (no session token).