The current lib is simple and works for a "golden" path like stack, but does not work for: - non Gin handler applications (https://github.com/zalando/gin-oauth2/issues/31 and https://github.com/zalando/gin-oauth2/pull/47) - not able to pass a logger https://github.com/zalando/gin-oauth2/issues/75 - we are a bit stuck by using globals instead of having a struct The best would be to not break the API but have an additional API that can support all these cases and we use the old way to create the old defaults.
The current lib is simple and works for a "golden" path like stack, but does not work for:
The best would be to not break the API but have an additional API that can support all these cases and we use the old way to create the old defaults.