Self Service SSO GA release changes #1057
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Updated SelfServiceProfilesManager method names
More details below:
Modified:
POST /api/v2/self-service-profiles
name
(string) Required1 <= length <= 100
description
(string)1 <= length <= 140
allowed_strategies
(string[])oidc
,samlp
,waad
,google-apps
,adfs
,okta
,keycloak-samlp
,pingfederate
]New:
PUT /api/v2/self-service-profiles/{id}/custom-text/{language}/{page}
Updates text customizations for a given self-service profile, language, and Self-Service SSO flow page.
Scope:
update:self_service_profile_custom_texts
Path Parameters:
id
(string) Required: The ID of the self-service profile.language
(string) Required: The language of the custom text.page
(string) Required: The page where the custom text is shown.Body Parameters:
en
.get-started
.get-started
:introduction
.New:
GET /api/v2/self-service-profiles/{id}/custom-text/{language}/{page}
Retrieves custom text for a self-service profile.
Scope:
read:self_service_profile_custom_texts
Path Parameters:
id
(string) Required: The ID of the self-service profile.language
(string) Required: The language of the custom text.page
(string) Required: The page where the custom text is shown.Response: Returns a list of key/value pairs, or an empty object
{}
if none are set.Modified:
POST /api/v2/self-service-profiles/{id}/sso-ticket
New Query Parameters: When creating a new SSO ticket, the following optional parameters are supported:
Connections:
domain_aliases
display_name
is_domain_connection
show_as_button
metadata
icon_url
Organizations:
assign_membership_on_login
show_as_button
ttl_sec
Sample Request Body:
New:
POST /api/v2/self-service-profiles/{id}/sso-ticket/{id}/revoke
Scope:
delete:sso_access_tickets
Description:
Revokes a ticket.
202 Accepted
with no body content.References
https://auth0.com/docs/api/management/v2/self-service-profiles/get-self-service-profiles
Testing
We will release guides to use this features separately that can help in manual testing.
Checklist