auth0 / node-auth0

Node.js client library for the Auth0 platform.
MIT License
639 stars 309 forks source link

Self Service SSO GA release changes #1057

Closed tusharpandey13 closed 4 days ago

tusharpandey13 commented 5 days ago

Changes

Updated SelfServiceProfilesManager method names

Path HTTP Method Method Name
/self-service-profiles GET getAll
/self-service-profiles POST create
/self-service-profiles/{id} GET get
/self-service-profiles/{id} DELETE delete
/self-service-profiles/{id} PATCH update
/self-service-profiles/{id}/sso-ticket POST createSsoTicket
/self-service-profiles/{id}/custom-text/{language}/{page} GET getCustomText
/self-service-profiles/{id}/custom-text/{language}/{page} PUT updateCustomText
/self-service-profiles/{profileId}/sso-ticket/{id}/revoke POST revokeSsoTicket

More details below:

Modified: POST /api/v2/self-service-profiles


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.

Note: Language, page, and key support can change at any time and should be treated as text fields from the SDK's perspective.


New: GET /api/v2/self-service-profiles/{id}/custom-text/{language}/{page}

Retrieves custom text for a self-service profile.


Modified: POST /api/v2/self-service-profiles/{id}/sso-ticket

New: POST /api/v2/self-service-profiles/{id}/sso-ticket/{id}/revoke

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.

Test Suites: 43 passed, 43 total
Tests:       1413 passed, 1413 total
Snapshots:   0 total
Time:        6.702 s

Checklist