Using `react-oidc-context` and storing the `access_token` and `refresh_token` together

I am looking for a "best practises" approach for creating SPAs protected using OIDC + PKCE.
Most of our applications are hosted on two independent web servers with a load balancer routing requests to them in a round-robin configu… Continue reading Using `react-oidc-context` and storing the `access_token` and `refresh_token` together

What risks are there in using an OAuth2 access_token from an IdP that I do not control to secure an API that I do control?

Imagine I host some API. Its exact function is irrelevant to the question, but it needs to have some sort of authorization put in front of it. I want to call Google’s APIs, so users can interact with their Google data, so I add the necessa… Continue reading What risks are there in using an OAuth2 access_token from an IdP that I do not control to secure an API that I do control?

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?