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
Patch an authentication request and update the properties. Use this to add in a connection ID, tenant ID, or other parameters so the user can complete their authentication and log in. This method should always and only be called from your custom self-hosted login screen: https://authress.io/app/#/settings?focus=branding
**authenticationRequestId** | **String**| The ID of the authentication request. When redirected from the Authress authenticate() call, this value is found in the `state` parameter of the url. |
32
+
**selfHostedLoginApplicationUrl** | **String**| The application url for the self hosted login screen specified in the advanced options: https://authress.io/app/#/settings?focus=branding. If you are not using a self hosted login screen then this method should not be called. |
33
+
**updateAuthenticationRequestParameters** | [**UpdateAuthenticationRequestParameters**](UpdateAuthenticationRequestParameters.md)| | The properties of the authentication request to updated.
**connectionId** | **String** | Specify which provider connection that user would like to use to log in - see https://authress.io/app/#/manage?focus=connections | [optional]
8
+
**tenantLookupIdentifier** | **String** | Instead of connectionId, specify the tenant lookup identifier to log the user with the mapped tenant - see https://authress.io/app/#/manage?focus=tenants | [optional]
9
+
**hint** | **String** | Instead of connectionId or tenant lookup identifier, specify the user's domain or the full email for the user to dynamically identify and log the user with the mapped tenant. | [optional]
10
+
**inviteId** | **String** | Invite to use to login, only one of the connectionId, tenantLookupIdentifier, or the inviteId is required. | [optional]
11
+
**connectionProperties** | [**ConnectionDefaultConnectionProperties**](ConnectionDefaultConnectionProperties.md) | Overrides the connection specific properties from the Authress Identity Connection to pass to the identity provider | [optional]
/** The redirect to your login screen will contain two query parameters `state`. Pass the state into this method. */
991
-
state: string;
992
-
/** Specify which provider connection that user would like to use to log in - see https://authress.io/app/#/manage?focus=connections */
993
-
connectionId?: string;
994
-
/** Instead of connectionId, specify the tenant lookup identifier to log the user with the mapped tenant - see https://authress.io/app/#/manage?focus=tenants */
995
-
tenantLookupIdentifier?: string;
996
-
/** Instead of connectionId or tenant lookup identifier, specify the user's domain or the full email for the user to dynamically identify and log the user with the mapped tenant. */
997
-
hint?: string;
998
-
/** Invite to use to login, only one of the connectionId, tenantLookupIdentifier, or the inviteId is required. */
999
-
inviteId?: string;
1000
-
/** Overrides the connection specific properties from the Authress Identity Connection to pass to the identity provider */
1001
-
connectionProperties?: Record<string,string>;
1002
-
}
1003
-
1004
991
/**
1005
992
* AuthressClient
1006
993
* @export
@@ -1089,6 +1076,12 @@ export class AuthressClient {
* @description When a platform extension attempts to log a user in, the Authress Login page will redirect to your Platform defaultAuthenticationUrl. At this point, show the user the login screen, and then pass the results of the login to this method.
1103
-
* @param {ExtensionAuthenticationParameters} settings Parameters for controlling how and when users should be authenticated for the app.
1104
-
* @return {Promise<AuthenticateResponse>} Automatically redirects the user to the appropriate location, unless the connectionId matches a legacy authentication flow.
* @description When a platform extension attempts to log a user in, the Authress Login page will redirect to your Platform defaultAuthenticationUrl. At this point, show the user the login screen, and then pass the results of the login to this method.
49
-
* @param {String} [state] The redirect to your login screen will contain two query parameters `state` and `flow`. Pass the state into this method.
50
-
* @param {String} [connectionId] Specify which provider connection that user would like to use to log in - see https://authress.io/app/#/manage?focus=connections
51
-
* @param {String} [tenantLookupIdentifier] Instead of connectionId, specify the tenant lookup identifier to log the user with the mapped tenant - see https://authress.io/app/#/manage?focus=tenants
52
-
* @param {String} [hint] Instead of connectionId or tenant lookup identifier, specify the user's domain or the full email for the user to dynamically identify and log the user with the mapped tenant.
53
-
* @param {Object} [connectionProperties] Connection specific properties to pass to the identity provider. Can be used to override default scopes for example.
54
-
* @return {Promise<AuthenticateResponse>} The authentication response.
55
-
*/
56
-
asyncupdateExtensionAuthenticationRequest({ state, connectionId, tenantLookupIdentifier, connectionProperties, hint }){
Copy file name to clipboardExpand all lines: src/invites/api.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ export interface InvitesApi {
26
26
* Accepts an invite by claiming this invite by this user. The user access token used for this request will gain the permissions associated with the invite.
27
27
* @summary Accept invite
28
28
* @param {string} inviteId The identifier of the invite.
* Patch an authentication request and update the properties. Use this to add in a connection ID, tenant ID, or other parameters so the user can complete their authentication and log in. This method should always and only be called from your custom self-hosted login screen: https://authress.io/app/#/settings?focus=branding
12
+
* @summary Update Authentication Request
13
+
* @param {string} authenticationRequestId The ID of the authentication request. When redirected from the Authress authenticate() call, this value is found in the `state` parameter of the url.
14
+
* @param {string} selfHostedLoginApplicationUrl The application url for the self hosted login screen specified in the advanced options: https://authress.io/app/#/settings?focus=branding. If you are not using a self hosted login screen then this method should not be called.
15
+
* @param {UpdateAuthenticationRequestParameters} authenticationRequest The properties of the authentication request to updated.
0 commit comments