Legacy Dev Forum Posts

 View Only

Sign Up

OAuthControl problem with redirect uri in WPF application

  • 1.  OAuthControl problem with redirect uri in WPF application

    Posted 06-05-2025 18:06

    scm_pa | 2022-01-06 22:28:01 UTC | #1

    Hello all. I'm putting together a wpf desktop application for a customer and I have a separate window using a Windowsformhost to have the user login in to purecloud using implicant grant. When the window loads I get

    Error - Genesys Cloud Accounts - Genesys

    Sorry, Genesys Cloud cannot authenticate you at this time.

    We did not recognize your redirect url.

    The redirect uri matches exactly what I have in the oauth client. If I use the same client id and redirect uri in a winform desktop application I did in the past it works fine. I'm new to wpf so I guessing/wondering if there is something else I need to do regarding the redirect uri in wpf.

    Thanks in advance.


    scm_pa | 2022-01-07 14:19:11 UTC | #2

    Never mind. I changed how I implemented it and it looks to be working. Thanks.


    system | 2022-02-07 14:19:38 UTC | #3

    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: 13148