Nitin_Mittal | 2022-06-05 03:56:27 UTC | #1
Hi team, can we force log in a user via API call if that user is offline?
tim.smith | 2022-06-06 13:46:24 UTC | #2
Hello Nitin, no, you cannot log a user in forcibly. Users must complete an OAuth flow to authorize an application.
Nitin_Mittal | 2022-06-12 16:24:53 UTC | #3
Thanks, Tim for the update.
BTW, any road map to bring this feature in?
tim.smith | 2022-06-13 19:36:27 UTC | #4
No, and it's unlikely that would ever be added. An OAuth flow cannot be completed for a user without the user being present to complete the flow. The only exception is a SAML2 Bearer flow, which yields to the 3rd party auth service to interact with the user in whatever way it deems necessary to authenticate them.
system | 2022-07-14 19:37:02 UTC | #5
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: 15017