Skip to content

Commit

Permalink
Merge pull request #12 from KYJKY/master
Browse files Browse the repository at this point in the history
Fix: 로그인 redirectURI 프로토콜 수정 (http > https)
  • Loading branch information
KYJKY authored May 15, 2024
2 parents edc0d3f + 270515c commit b0e9fbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Service/Models/SingleSignOnService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public async Task<string> GetKakaoAccessToken(string code)
string accessToken = "";
string refreshToken = "";

//string redirectURI = "http://localhost:5283/api/test/test-platform-web-login";
string redirectURI = "http://everypin-api.azurewebsites.net/api/test/test-platform-web-login";
//string redirectURI = "https://localhost:5283/api/test/test-platform-web-login";
string redirectURI = "https://everypin-api.azurewebsites.net/api/test/test-platform-web-login";
string clientId = _configuration.GetConnectionString("kakao-rest-api-key");

Check warning on line 38 in Service/Models/SingleSignOnService.cs

View workflow job for this annotation

GitHub Actions / build

Converting null literal or possible null value to non-nullable type.
string requestURL = "https://kauth.kakao.com/oauth/token";
string authorizationCode = "authorization_code";
Expand Down Expand Up @@ -87,7 +87,7 @@ public async Task<GoogleTokenDto> GetGoogleAccessToken(string code)
string scope = "";
string id_token = "";

string redirectURI = "http://everypin-api.azurewebsites.net/api/test/test-platform-web-login";
string redirectURI = "https://everypin-api.azurewebsites.net/api/test/test-platform-web-login";
string clientId = _configuration.GetConnectionString("google-client-id");
string clientSecret = _configuration.GetConnectionString("google-client-secret");
string requestURL = "https://oauth2.googleapis.com/token";
Expand Down

0 comments on commit b0e9fbc

Please sign in to comment.