You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/ts/recipe/oauth2provider/types.ts
+21-4Lines changed: 21 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,21 @@ export type ErrorOAuth2 = {
65
65
statusCode?: number;
66
66
};
67
67
68
+
exporttypeOauthError={
69
+
status: "OAUTH_ERROR";
70
+
71
+
// The error should follow the OAuth2 error format (e.g. invalid_request, login_required).
72
+
// Defaults to request_denied.
73
+
error: string;
74
+
75
+
// Description of the error in a human readable format.
76
+
errorDescription: string;
77
+
78
+
// Represents the HTTP status code of the error (e.g. 401 or 403)
79
+
// Defaults to 400
80
+
statusCode: number;
81
+
};
82
+
68
83
exporttypeConsentRequest={
69
84
// ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
70
85
acr?: string;
@@ -242,12 +257,12 @@ export type RecipeInterface = {
242
257
// Subject is the user ID of the end-user that authenticated.
0 commit comments