Skip to content

Commit 6402ecc

Browse files
committed
fix(auth): Fix doc string and use correct error message
1 parent a4e509e commit 6402ecc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/google/firebase/auth/ActionCodeSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public Builder setDynamicLinkDomain(String dynamicLinkDomain) {
149149

150150
/**
151151
* Sets the link domain to use for the current link if it is to be opened using
152-
* HandleCodeInApp, as multiple link domains can be configured per project. This
152+
* {@code handleCodeInApp}, as multiple link domains can be configured per project. This
153153
* setting provides the ability to explicitly choose one. If none is provided, the default
154154
* Firebase Hosting domain will be used.
155155
*

src/main/java/com/google/firebase/auth/internal/AuthErrorHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ final class AuthErrorHandler extends AbstractHttpErrorHandler<FirebaseAuthExcept
7777
"INVALID_HOSTING_LINK_DOMAIN",
7878
new AuthError(
7979
ErrorCode.INVALID_ARGUMENT,
80-
"The provided hosting link domain is not "
81-
+ "configured or authorized for the current project",
80+
"The provided hosting link domain is not configured in Firebase Hosting or is "
81+
+ "not owned by the current project",
8282
AuthErrorCode.INVALID_HOSTING_LINK_DOMAIN))
8383
.put(
8484
"PHONE_NUMBER_EXISTS",

0 commit comments

Comments
 (0)