Skip to content

Commit

Permalink
add template string to auth url
Browse files Browse the repository at this point in the history
  • Loading branch information
Knerio committed Nov 24, 2024
1 parent f2d5b57 commit d36840e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/code0/identities/provider/oidc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def user_details_url
end

def authorization_url
config[:authorization_url]
config[:authorization_url].gsub("{client_id}", config[:client_id]).gsub("{redirect_uri}", config[:redirect_uri])
end

def create_identity(response, *)
Expand Down

0 comments on commit d36840e

Please sign in to comment.