Commit ddb6cf8f authored by Gurvinder Singh's avatar Gurvinder Singh
Browse files

changed header name to comply with dataporten

parent 6ecbf649
......@@ -96,7 +96,7 @@ func (jwm *JWTMiddleware) getJWTToken(
claims.Set("principals", principals)
claims.Set("acr_values", r.Header.Get("X-Dataporten-Acr-Values"))
claims.Set("acr_values", r.Header.Get("X-Dataporten-Acr"))
claims.Set("userid-sec", r.Header.Get("X-Dataporten-Userid-Sec"))
claims.SetExpiration(now.Add(time.Duration(lifeTime) * time.Second))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment