Skip to content

Commit 90c925b

Browse files
committed
feat: DEV 로그인 옵션 추가
1 parent d5c1070 commit 90c925b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/main/kotlin/org/gitanimals/identity/controller/request/RedirectWhenSuccess.kt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ enum class RedirectWhenSuccess(
2222
),
2323
APP(
2424
"https://api.gitanimals.org/logins/oauth/github/tokens/APP",
25-
"gitanimals://auth?jwt={jwt}"
25+
"gitanimals://auth?jwt={jwt}",
2626
),
2727
WEB_VIEW(
2828
"https://api.gitanimals.org/logins/oauth/github/tokens/WEB_VIEW",
29-
"https://git-animal-client-webview.vercel.app/auth?jwt={jwt}"
30-
)
29+
"https://git-animal-client-webview.vercel.app/auth?jwt={jwt}",
30+
),
31+
DEV(
32+
"https://api.gitanimals.org/logins/oauth/github/tokens/DEV",
33+
"https://git-animal-client.vercel.app/auth/jwt={jwt}",
34+
),
3135
;
3236

3337
fun successUriWithToken(jwt: String): String = successUri.replace("{jwt}", jwt)

0 commit comments

Comments
 (0)