Oauth2 in Wirecloud
问题 Which is the best way to implement OAuth2 authorization in an operator? We have secured our backend API with PEP proxy and we need a valid token. Does wirecloud provide any mean to access it once the user is logged in. Something like: MashupPlatform.context.getOAuthToken() We try to avoid hardcoding user credentials in the logic of the operator. 回答1: Yeah, Although, you cannot read the OAuth2 token from widgets/operators, you can use the WireCloud's proxy and configure it to inject the OAuth2