Skip to content

Commit 2b3a5fe

Browse files
committed
feat: WEB_VIEW로그인 추가
1 parent 94cd7c7 commit 2b3a5fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ enum class RedirectWhenSuccess(
2424
"https://api.gitanimals.org/logins/oauth/github/tokens/APP",
2525
"gitanimals://auth?jwt={jwt}"
2626
),
27+
WEB_VIEW(
28+
"https://api.gitanimals.org/logins/oauth/github/tokens/WEB_VIEW",
29+
"https://git-animal-client-webview.vercel.app/auth?jwt={jwt}"
30+
)
2731
;
2832

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

0 commit comments

Comments
 (0)