ambitious-lion-56385
03/08/2022, 2:38 PMproud-plumber-24205
03/09/2022, 2:08 PMambitious-lion-56385
03/09/2022, 2:18 PMproud-plumber-24205
03/09/2022, 2:25 PMambitious-lion-56385
03/09/2022, 2:29 PMcurl --header "Content-Type: application/json" --request POST --data '{"redirect_uris":["<https://my-callback-url>"],"token_endpoint_auth_method": "client_secret_basic"}' <https://oznfc.tk/oauth2/register> -v
ı have error :
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 159.89.214.46...
* TCP_NODELAY set
* Connected to <http://oznfc.tk|oznfc.tk> (159.89.214.46) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Unknown (8):
* TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, Server hello (2):
* SSL certificate problem: unable to get local issuer certificate
* stopped the pause stream!
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: <https://curl.haxx.se/docs/sslcerts.html>
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
proud-plumber-24205
03/09/2022, 2:31 PM--insecure
flag
https://stackoverflow.com/questions/8520147/curl-is-data-encrypted-when-using-the-insecure-optionambitious-lion-56385
03/09/2022, 3:23 PM--insecure
ı'm getting this error on my client
Refused to display '<http://localhost:3001/>' in a frame because it set 'X-Frame-Options' to 'deny'.
proud-plumber-24205
03/09/2022, 3:24 PMambitious-lion-56385
03/09/2022, 3:35 PMmsg=An error occurred while handling a request audience=application error=map[debug:invalid_token message:The request could not be authorized reason:The requested OAuth 2.0 client does not exist or you provided incorrect credentials. status:Unauthorized status_code:401]