Skip to content

Commit

Permalink
Update issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusbv committed Feb 21, 2024
1 parent 3677601 commit 6e33cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/registry/app/models/registry/access_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def token

def claim
{}.tap do |hash|
hash['iss'] = 'registry.suse.com/auth' # "matching issuer in registry auth token config"
hash['iss'] = 'RMT' # "matching issuer in registry auth token config"
hash['sub'] = @account
hash['aud'] = @service
hash['exp'] = Time.now.getlocal.to_i + (5 * 60) # expires at
Expand Down

0 comments on commit 6e33cb3

Please sign in to comment.