I am creating an application that shows an alert to users to authorize an Connected System so that an integration can work.
now I want it to be shown to user only when they have already not authorized Connected System
so ,how can I check if user has already authorized for a connected...??
Discussion posts and replies are publicly visible
Not sure what you are trying to achieve here. Can you provide some more information about it like what connected system is it and why user needs to authorize when they already signed in to Appian?
the integration makes an GDrive API Call to create a new folder in a Shared Drive. and as it is for GDrive it need GDrive Credentials to check if the user is authorized to access the shared Drive hence it needs Authorization.i hope that helps you to better understand my Question
I'm assuming you're using OAuth for authentication? I don't believe there is a way to check whether the credentials are valid without doing an integration call, but it's pretty easy to set up an authorization link that can allow them to authorize it after doing the integration call: docs.appian.com/.../authorization_link_component.html
Thank you for the Reply.however I have created the same link for Authentication but want to show that to user only when they have not authorized it earlier.
You might be able to do this by doing a GET against an API call and just load that in a local variable when loading the page. Then, use this to determine whether or not to show the link.
Thank you for the Reply .I just implemented this .