Skip to content

Commit d36840e

Browse files
committed
add template string to auth url
1 parent f2d5b57 commit d36840e

File tree

1 file changed

+1
-1
lines changed
  • lib/code0/identities/provider

1 file changed

+1
-1
lines changed

lib/code0/identities/provider/oidc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def user_details_url
2121
end
2222

2323
def authorization_url
24-
config[:authorization_url]
24+
config[:authorization_url].gsub("{client_id}", config[:client_id]).gsub("{redirect_uri}", config[:redirect_uri])
2525
end
2626

2727
def create_identity(response, *)

0 commit comments

Comments
 (0)