Skip to content

Commit

Permalink
Support nested credentials lookup for microsoft_graph + google
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Nov 10, 2024
1 parent 8b66fc4 commit a3a8041
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ shared:
cloudflare_bucket: <%= ENV["CLOUDFLARE_BUCKET"] || default_to(cloudflare: :bucket) %>
google_auth_client_id: <%= ENV["GOOGLE_AUTH_CLIENT_ID"] || default_to(:google_auth_client_id) %>
google_auth_client_secret: <%= ENV["GOOGLE_AUTH_CLIENT_SECRET"] || default_to(:google_auth_client_secret) %>
microsoft_graph_auth_client_id: <%= ENV["MICROSOFT_GRAPH_AUTH_CLIENT_ID"] || default_to(:microsoft_graph_auth_client_id) %>
microsoft_graph_auth_client_secret: <%= ENV["MICROSOFT_GRAPH_AUTH_CLIENT_SECRET"] || default_to(:microsoft_graph_auth_client_secret) %>
microsoft_graph_scope: <%= ENV["MICROSOFT_GRAPH_SCOPE"] || default_to(:microsoft_graph_scope) %>
microsoft_graph_auth_client_id: <%= ENV["MICROSOFT_GRAPH_AUTH_CLIENT_ID"] || default_to(microsoft_graph: :auth_client_id) %>
microsoft_graph_auth_client_secret: <%= ENV["MICROSOFT_GRAPH_AUTH_CLIENT_SECRET"] || default_to(microsoft_graph: :auth_client_secret) %>
microsoft_graph_scope: <%= ENV["MICROSOFT_GRAPH_SCOPE"] || default_to(microsoft_graph: :scope) %>
http_header_auth_email: <%= ENV["HTTP_HEADER_AUTH_EMAIL"] || "X-WEBAUTH-EMAIL" %>
http_header_auth_name: <%= ENV["HTTP_HEADER_AUTH_NAME"] || "X-WEBAUTH-NAME" %>
http_header_auth_uid: <%= ENV["HTTP_HEADER_AUTH_UID"] || "X-WEBAUTH-USER" %>
Expand Down

0 comments on commit a3a8041

Please sign in to comment.