Detect invalid cert Android client if URL being redirected to a fake server

Here is the scenario:

Server A is an authentic server (A.com).
Server F is a fake server (F.com) that also has a valid cert for
F.com has a copy of A.com certificate to it (to fake as A.com).
Client C is trying to connect to A.com via a r… Continue reading Detect invalid cert Android client if URL being redirected to a fake server

Why isn’t the data sent again after resfresh page in a POST request [migrated]

I have used axios to send a POST request after pressing a button. I want to make sure not to send the data again after refreshing the page or clicking the button right after.
When I refresh the page or click the button the data is not bein… Continue reading Why isn’t the data sent again after resfresh page in a POST request [migrated]

Do sites like reddit and Quora expose their Google API client keys to the public?

On Quora, when I want to sign in using Google, I am redirected to this URL, which has a parameter client_id=917071888555.apps.googleusercontent.com.
Similarly, reddit takes me here, which has client_id=705819728788-b2c1kcs7tst3b7ghv7at0hkq… Continue reading Do sites like reddit and Quora expose their Google API client keys to the public?

Will browser establish new TCP connection when being redirected from http to https? [closed]

If client/browser trying to access http via 80, most likely it will be redirected to https/443 due to server configuration.
Will browser actually automatically establish new connection to port 443 or reuse the previous connection?
How exac… Continue reading Will browser establish new TCP connection when being redirected from http to https? [closed]

What are the risks of using wildcard in context path of OIDC/OAuth redirect_uri?

I’m using Keycloak for my authentication needs. It allows me to use * as wildcard when whitelisting redirect_uris for OIDC clients. What are the risks of using * in context path of redirect_uri? For example, what could attacker do if I reg… Continue reading What are the risks of using wildcard in context path of OIDC/OAuth redirect_uri?