ngrok / kubernetes-ingress-controller

The official ngrok Ingress Controller for Kubernetes
https://ngrok.com
MIT License
183 stars 20 forks source link

fix: panics in oauth providers #374

Closed jonstacks closed 1 month ago

jonstacks commented 1 month ago

What

FIxes an underlying bug when configuring oAuth providers that caused panics. Checking an interface for nil checks if it is nil, and not the underlying data.

How

Add Provided() bool to the OauthProvider interface that checks if it was provided and fix the nil check.

Breaking Changes

No