Hi Kaveesha,
It is not clear in [2] point you mentioned. Basically, you want to update
Service Provider using new request data, right ?

In [1] point, you meant to get *InboundAuthenticationConfig* object from
ServiceProvider ? Yes you can just pass client id, request type and tenant
domain to this and get the SP.


*Harsha Thirimanna*
Associate Tech Lead; WSO2, Inc.; http://wso2.com
* <http://www.apache.org/>*
*email: **hars...@wso2.com* <az...@wso2.com>* cell: +94 71 5186770 *
*twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
*harshathirimannlinked-in: **http:
<http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
<http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*

*Lean . Enterprise . Middleware*


On Wed, Jun 1, 2016 at 4:04 PM, Kaveesha Perera <kavee...@wso2.com> wrote:

> Hi,
>
> I'm working on a bug in APIM of Dynamic client registration as explained
> in [1]. There I'm going to retrieve the relevant  OAuth2 app  details when
> a user trying to send a DCR request for an already existing Application.
> For that I need to get the OAuth application information present in the
> Inbound authentication configuration of the created service Provider.
>
> I have used below two methods to get the oauth2 app details.
>
>  1.getInboundAuthenticationConfig()  -Derive the client id from the
> service provider
>
> 2.updateApplication(OAuthAppRequest appInfoDTO)-Derive other additional oauth2
> information of the service porivder
>
>
> Is the above approach correct or is there a better way of doing it?
>
> [1] [Architecture] Behavior of OAuth 2.0 Dynamic Client Registration
>
>
> --
> Kaveesha Perera
> Intern - Software Engineering
>
> mobile: 0716130471
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to