Skip to content

Commit

Permalink
Merge pull request #101 from yjinjo/master
Browse files Browse the repository at this point in the history
Change https option
  • Loading branch information
yjinjo authored Jun 10, 2024
2 parents 911f17d + 89cbc52 commit 1132d68
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/cloudforet/console_api_v2/service/auth_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def _extract_credentials(
"http_host": console_api_v2_endpoint,
"script_name": request.url.path,
"post_data": form_data,
"https": "on",
}

@staticmethod
Expand Down Expand Up @@ -177,9 +178,7 @@ def _redirect_response(domain_name: str, refresh_token: str) -> RedirectResponse
@staticmethod
def _get_acs_url(domain_name: str, domain_id: str) -> str:
console_api_v2_endpoint = config.get_global("CONSOLE_API_V2_ENDPOINT")
acs_url = (
f"{console_api_v2_endpoint}/console-api/extension/auth/saml/{domain_id}"
)
acs_url = f"https://{console_api_v2_endpoint}/console-api/extension/auth/saml/{domain_id}"

return acs_url

Expand Down

0 comments on commit 1132d68

Please sign in to comment.