Legacy Dev Forum Posts

 View Only

Sign Up

Implementing Login form in widget

  • 1.  Implementing Login form in widget

    Posted 06-05-2025 18:01

    Alok_Tibrewal | 2018-02-09 09:03:32 UTC | #1

    Hi

    I am creating a JS widget, where I need to force user to login in purecloud. This widget will be used in our CRM so when user logged out from CRM, we want to force the same at PureCloud.

    Same machine can be used by multiple agents so we need to enforce login-logout in our widget.

    Any assistance or guideline on above will help us.

    Thank you Alok


    tim.smith | 2018-02-09 16:30:03 UTC | #2

    You can use DELETE /api/v2/tokens/me to delete the token used to make the request or redirect the user to https://login.mypurecloud.com/logout to destroy all tokens associated with the session token.

    See the Logging Out sections here: https://developer.mypurecloud.com/api/rest/authorization/index.html


    system | 2018-03-12 16:30:11 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 2485