Skip to main content
Solved

Improving User Experience of User Consent Auth / Authorization Code Grant

  • February 20, 2026
  • 3 replies
  • 34 views

Forum|alt.badge.img

Hey everyone, first time posting here, I’ve tried out the User Consent Auth / Authorization Code Grant between Moveworks and Workday, functionally it is working well after user consented, but is there anyway to detect/test if a user consent expired/non-exists at the beginning of a plugin?

Problem Statement
If a user never consent previously or if token already expired, the first time calling a plugin will always fail (not yet consented / token expired). Immediately afterwards, User Consent Request will appear:
 

User can then proceed to consent, but the plugin already ended so user will have to manually retrigger the plugin after consented, and retype everything again. 

Question
I need to make my plugin:
1) Check if user consent exist/valid
2) If false in 1) then show User Consent Request
3) Pause plugin execution (with timeout) until User Consent Auth completed
4) If timeout at 3) or Auth Failed at 3) then return false (so I won’t bother user with subsequent steps of plugin).

Any Moveworks-native method/API/solution to achieve these?
If not, then has anyone deployed User Consent Auth in production please share how you manage it?
Thanks!

Best answer by Kevin Mok

Hey ​@ZeZiong.Chua - We are currently addressing all these issues. We will support a pre-flight check that will have the plugin check for any required auths before the plugin runs and once authenticated, the plugin will run on its own!

3 replies

Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • Answer
  • February 20, 2026

Hey ​@ZeZiong.Chua - We are currently addressing all these issues. We will support a pre-flight check that will have the plugin check for any required auths before the plugin runs and once authenticated, the plugin will run on its own!


Forum|alt.badge.img
  • Author
  • New Participant
  • February 23, 2026

Hey ​@ZeZiong.Chua - We are currently addressing all these issues. We will support a pre-flight check that will have the plugin check for any required auths before the plugin runs and once authenticated, the plugin will run on its own!

Sounds great! Thank you. May I know roughly when will this pre-flight check becomes generally available?


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • February 23, 2026

@ZeZiong.Chua It will be sometime in Q2, I will post more information about it in the community once we have better alignment there.