Skip to content

Commit

Permalink
Merge pull request #520 from hyeonic/feature/518-remove-prompt
Browse files Browse the repository at this point in the history
구글 OAuth 요청 uri 생성 시 prompt 설정을 제거한다.
  • Loading branch information
hyeonic authored Aug 19, 2022
2 parents 2c6c09e + d871873 commit 85d6729
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ public class GoogleProperties {
private final List<String> scopes;
private final String tokenUri;
private final String accessType;
private final String prompt;

public GoogleProperties(final String clientId, final String clientSecret, final String redirectUri,
final String oAuthEndPoint, final String responseType, final List<String> scopes,
final String tokenUri, final String accessType, final String prompt) {
final String tokenUri, final String accessType) {
this.clientId = clientId;
this.clientSecret = clientSecret;
this.redirectUri = redirectUri;
Expand All @@ -29,7 +28,6 @@ public GoogleProperties(final String clientId, final String clientSecret, final
this.scopes = scopes;
this.tokenUri = tokenUri;
this.accessType = accessType;
this.prompt = prompt;
}

public String getClientId() {
Expand Down Expand Up @@ -63,8 +61,4 @@ public String getTokenUri() {
public String getAccessType() {
return accessType;
}

public String getPrompt() {
return prompt;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public String generate(final String redirectUri) {
+ "redirect_uri=" + redirectUri + "&"
+ "response_type=code&"
+ "scope=" + String.join(" ", properties.getScopes()) + "&"
+ "access_type=" + properties.getAccessType() + "&"
+ "prompt=" + properties.getPrompt();
+ "access_type=" + properties.getAccessType();
}
}
2 changes: 1 addition & 1 deletion backend/src/main/resources/config

0 comments on commit 85d6729

Please sign in to comment.