diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35c7efe2662f340da2b211053f8f68b9baadabd5..971ebefd21e82dc51fe6262287bfb3b2f182d50e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,8 @@ -# -# vim:ts=2:sw=2:et -# - variables: REGISTRY: quay.io + REGISTRY_AUTHOR: ukhomeofficedigital + REGISTRY_EMAIL: gitlab@digital.homeoffice.gov.uk + REGISTRY_USER: ukhomeofficedigital+gitlab NAME: go-keycloak-proxy stages: diff --git a/handlers.go b/handlers.go index df5e37cbeb2aeb252b7a23949bbc2c58a1bf841e..9b1617b7e6bd13558a56ae030e040b81b28e88b8 100644 --- a/handlers.go +++ b/handlers.go @@ -305,7 +305,6 @@ func (r *keycloakProxy) admissionHandler() gin.HandlerFunc { } // step: if we have any claim matching, validate the tokens has the claims - // @TODO we should probably convert the claim checks to regexs for claimName, match := range claimMatches { // step: if the claim is NOT in the token, we access deny value, found, err := identity.claims.StringClaim(claimName) @@ -618,7 +617,7 @@ func (r *keycloakProxy) expirationHandler(cx *gin.Context) { } // -// tokenHandle display access token to screen +// tokenHandler display access token to screen // func (r *keycloakProxy) tokenHandler(cx *gin.Context) { // step: extract the access token from the request