Hello, is it possible to manually invoke a managem...
# ask-a-descoper
b
Hello, is it possible to manually invoke a management flow with the Java SDK? I see documentation for invoking a management flow, but I don't see it documented in the API reference.
b
Hey Benjamin, there's more info about the Java SDK in the readme here: https://github.com/descope/descope-java?tab=readme-ov-file Feel free to reach out if you have any questions!
b
so that's a no then?
How does on manually invoke a management flow?
b
Yes it’s a no for invoking a Management Flow object by ID. If you want to manually invoke that logic, you do it by calling the Management APIs that the flow would call under the hood.
b
Is this document outdated? I'm not seeing this feature documented in the API docs.
What I'm actually trying to do is to access the "Email verification outside of sign up or in" flow so that when we manually change a user's email or phone through our admin console they can be sent a verification email.
I don't see how to do this with the management APIs. The magic link updateUserEmail function in the Java SDK requires a refresh token which we don't have in our admin site. I must be missing something in the API docs. I was thinking that the best way to implement it would be to create the "Email verification outside up or in" flow as a management flow and invoke it manually. What is the suggested process for sending verification emails to our end-users when we manually change their emails with the management APIs.
c
Hey @Benjamin Cassidy - added you to a thread with the folks from Gravie regarding similar questions that came up earlier this month. There's some demo flows and a recording from that meeting there as well.