Skip to content
Snippets Groups Projects
Commit dad84232 authored by Rohith's avatar Rohith
Browse files

- adding the gitlab vars

parent 2f411049
No related branches found
No related tags found
No related merge requests found
#
# 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:
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment