Skip to content
Snippets Groups Projects
Commit b575b2f1 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Fix Container Service full access token

parent 28233e00
No related branches found
No related tags found
1 merge request!4040Add container registry support
Loading
Loading
@@ -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|
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment