Skip to content

Commit

Permalink
[CHORE] auth update
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed Jan 15, 2024
1 parent 550f27f commit e2b0dec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class SecurityConfig {

private static final String[] AUTH_WHITE_LIST = {
"",
"sign-in",
"/",
"/health",
"/login/oauth2/code/google",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class AuthApiController implements AuthApi {
private final AuthValueConfig valueConfig;

@Override
@GetMapping("/login")
@GetMapping("/sign-in")
public ResponseEntity<Void> getGoogleAuthUrl(HttpServletResponse response) throws Exception {

val reqUrl = valueConfig.getGoogleLoginUrl()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ public class User extends BaseTimeEntity {

private String password; // 단방향 암호화 필요

@Column(length = 30)
private String username;

private String socialId;

@Column(columnDefinition = "TEXT")
private String imageUrl;

@Column(columnDefinition = "TEXT")
private String refreshToken;

private LocalDateTime expiredIn;
Expand Down

0 comments on commit e2b0dec

Please sign in to comment.