* fix: more permissive redirect check * fix: keep exact match for url, and ignore just the port for localhost * test: add unit tests to the idp middleware * chore: add changelog entry * fix: add more tests and improve ipv6 support in the redirect
14 lines
210 B
Go
14 lines
210 B
Go
package middleware_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
. "github.com/onsi/ginkgo/v2"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
func TestMiddleware(t *testing.T) {
|
|
RegisterFailHandler(Fail)
|
|
RunSpecs(t, "IDP Middleware Suite")
|
|
}
|