Unlink Account
When a user is provisioned using Onboarding & SSO, the account is linked to your community app. From that point on, you'll receive notifications for that user at the Notification Callback.
When you unlink the account from your community app, you won't be receiving any callbacks anymore for that user.
URL
To unlink an account, just make an HTTP
GET
call to the endoint below. Either do this via a backchannel API call or redirect the user to this endpoint.
Base URL: https://login.mypup.app/UnlinkCommunity
Query | Mandatory | Description |
---|---|---|
uuid | ✓ | Your user's uuid that you provisioned |
auth | ✓ | Your auth key you'll receive from us. |
returnUrl | Optional return url to redirect to after succesfull unlinking. | |
state | When returnUrl specified, this state will be part of the redirect url query string. |
Current user will be logged out
This endpoint will not check the currently logged in user. However, when any user is logged in, it will be signed out at all times. Regardless of the specified uuid
.
Return URL
If you choose to specify a returnUrl
value, the user wll be redirected to this URL after succesfull unlink. The query string values below will also be added the returnUrl
.
If you do not specify a returnUrl
the HTTP request will just redirect to the login page. It's up to you if you want to redirect the user to com_return_url
or not.
Return Query String | Description |
---|---|
com_state | The value from state you supplied in the original unlink url. |
com_uuid | The value from uuid you supplied in the original unlink url. |
com_return_url | An url you could use to redirect the user to afterwards. |
Examples
Case | URL |
---|---|
Minimum | https://login.mypup.app/UnlinkCommunity?uuid=7ab78c8f28x&auth=94c2...a9b1 |
With return url | https://login.mypup.app/UnlinkCommunity?uuid=7ab78c8f28x&auth=94c2...a9b1&state=TEST123&returnUrl=https%3A%2F%2Fmy.community.app%2FMyPupLogin |