Looks Gluu server to me. I am sure I am missing something here. I attached two more screenshots - network trace 1 and 2 in the same link as above.
The plugin on the client side is PHP. So all I did is just print the json response I get back from the last redirect uri request sent as POST request from the client and exit the program. The program if not exited throws an exception as 404 with a web page which is plugin related.
This is the printed response : Array ( [error] => invalid_client
[error_description] => Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client. )
Also, point 1) I have no idea what moodle means by "Resource"- the tooltip on it says - "The OpenID Connect resource for which to send the request.". Does that give any idea?
Again, I appreciate your help on this.
Thanks
Sumeen