Hi,
I want to provide a button in script page which will open a URL in new tab. I want that URL to be accessed only from PureCloud script page. i.e if someone tries to open the URL directly from the browser, it should ask for PureCloud Authentication(Or check if the user is already logged into PureCloud or not). Basically, I want to restrict the URL access to only authorized PureCloud users. Is this possible? Does PureCloud provide any such feature?
Your app has a separate context from the PureCloud application. Your app will always need to be authorized by the user, regardless of where it's being loaded from. Your app should probably implement the implicit grant, though the auth code grant might be warranted if you're making API calls from a back end part of your web app.