Commit b575b2f1 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix Container Service full access token

parent 28233e00
......@@ -16,7 +16,7 @@ module Auth
def self.full_access_token(*names)
registry = Gitlab.config.registry
token = ::JWT::RSAToken.new(registry.key)
token = JSONWebToken::RSAToken.new(registry.key)
token.issuer = registry.issuer
token.audience = AUDIENCE
token[:access] = names.map do |name|
......
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