keratin / authn-go

Go client library for Keratin AuthN
https://github.com/keratin/authn-server
GNU Lesser General Public License v3.0
32 stars 10 forks source link

url-equivalent issuer comparisons #3

Open cainlevy opened 6 years ago

cainlevy commented 6 years ago

The URLs https://example.com and https://example.com:443/ can be considered equivalent issuers. The keratin/authn-rb library accomplishes this by coercing to URLs for comparison, but go's net/url library makes no assumptions (per golang convention).

Supporting this lenient issuer matching will take a bit more effort. It is not necessary for the library to function when configured precisely, though.