Skip to content

Commit 5398327

Browse files
authored
Feature/add missing app auth error code (#732)
* feat: add code 'token_exchange_failed' (missing device time for example) * feat: add missing code 'authentication_error' (user cancelled on Android)
1 parent 3558869 commit 5398327

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,11 @@ type AppAuthErrorCode =
172172
| 'service_configuration_fetch_error'
173173
| 'authentication_failed'
174174
| 'token_refresh_failed'
175+
| 'token_exchange_failed'
175176
| 'registration_failed'
176177
| 'browser_not_found'
177-
| 'end_session_failed';
178+
| 'end_session_failed'
179+
| 'authentication_error';
178180

179181
type ErrorCode =
180182
| OAuthAuthorizationErrorCode

0 commit comments

Comments
 (0)