6 Replies Latest reply on Jul 18, 2014 3:20 PM by craig.mcclanahan

    Oauth2 and redirect_uri sub-domains

    fernando.nardini

      Hi guys, for the redirect_url property in the add-on, I set "%serviceURL%/redirect" (and service_url=http://mydomain.com/) but when I ask for the oauth code, I would need to use a different sub-domain depending on the user.

       

      For example,

      https://<my_network>.jiveon.com/oauth2/authorize?response_type=code&client_id=<client_id>&redirect_uri=http://myclient.mydomain.com/redirect/

       

      Is it possible to do that? Currently, it throws

       

      It looks like a remote service wants access to your Jive account.

      There seems to be a problem. Some information provided by the remote service is missing or invalid, eg. redirect URI, client ID, code, etc. Please contact an administrator for more information.

       

      Thanks!