Hi Maneesha,

You can use 'OAuthAdminService' to check the state of the oauth app.
There's 'getOauthApplicationState' operation which returns the application
state for a given consumer key.

Regards,
Omindu.

On Thu, Jan 4, 2018 at 11:37 AM, Maneesha Wijesekara <[email protected]>
wrote:

> Hi All,
>
> I'm configuring playground as a Service Provider while trying Solution 01
> in [1]. I've configured 'OAuth/OpenID Connect Configuration' under 'Inbound
> Authentication Configuration' with a proper value set. Once adding the
> oAuth app, there's an option to revoke all tokens issued for this
> application.
>
> I'm just curious on how to determine whether an oauth application is
> already revoked or not. The only way I found to check this is by clicking
> the 'revoke' button and it will give a popup of 'Application is already
> revoked.', if it's already revoked. But IMO, that's not a convenient way to
> check the application's status in terms of revoking. Is there any other way
> to accomplish this ?
>
> [1] https://medium.facilelogin.com/thirty-solution-patterns-
> with-the-wso2-identity-server-16f9fd0c0389
>
> Thanks and Regards
> Maneesha
>
> --
> Maneesha Wijesekara
> Software Engineer - QA Team
> WSO2 Inc.
>
> Email: [email protected]
> Linkedin: http://linkedin.com/in/maneeshawijesekara
> Mobile: +94712443119
>



-- 
Omindu Rathnaweera
Senior Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to