Statping: response_type parameter seems to be missing in custom oauth settings

Created on 7 Jul 2020  路  5Comments  路  Source: statping/statping

Using Statping 0.90.56 which has Oauth as beta. Used custom oauth but getting error
http://localhost:8080/oauth/custom?error=invalid_request&error_description=No%20value%20supplied%20for%20required%20parameter:%20response_type%20(Correlation%20ID:%..... )

It seems the error is due to the missing request_type parameter in the request to authorization server. It is as follows:
https://<custom oauth.com auth endpoint>?client_id=<xxxxx-xxxxx-xxxxx xxx>&redirect_uri=http://localhost:8080/oauth/custom

When I add _?request_type=token id_token_ via curl or POST as below, the login is directed to the authorization server as I would expect
https://<custom oauth.com auth endpoint_>?client_id=<xxxxx-xxxxx-xxxxx xxx>&request_type=token id_token&redirect_uri=http://localhost:8080/oauth/custom

I think request_type is required in the oauth2 spec, but just wondering if it is left out for a reason and that I am missing something.

https://tools.ietf.org/html/rfc6749 - 3.1.1 Response_Type

bug stale

All 5 comments

Hey @hurriyetgiray-ping , thanks for this issue. OAuth is still in beta, but I've had good results with Github and Slack, Google and Custom i'm stilling trying to confirm everything. I'll be working on this.

I can confirm that I get the following kind of errors using Custom:

error=invalid_request
error_description=Missing parameter: response_type

This issue hasn't had any updates in a while. If this is still a problem, please create a new issue.

It is still a problem, so I had to find a workaround. I am now using another app for oauth authentication and bypassing statping's native login.

I am expecting https://github.com/statping/statping/issues/605 will address this.

This issue hasn't had any updates in a while. If this is still a problem, please create a new issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itsmylife44 picture itsmylife44  路  5Comments

bash-stack picture bash-stack  路  7Comments

tyler-public picture tyler-public  路  5Comments

armansaa picture armansaa  路  7Comments

majodev picture majodev  路  6Comments