[OAuth2 Provider] Broken in the latest Platform Server version

Forge Component
Published on 2019-11-18 by Leonardo Fernandes
1 vote
Published on 2019-11-18 by Leonardo Fernandes

The OAuth Flows extension throws a compilation error in the O11 Apr.2019 version (11.0.400+) of the Platform Server . The LoginUser action is using an internal API that is no longer available (Session.SetUser).

OAuthFlows.cs(149,52): error CS1061: 'SessionInfo' does not contain a definition for 'SetUser'

It also fails at runtime with a equivalent error if the extension is uploaded without being recompiled.

Would it be possible to change this component to use the Login(id) from they (System) instead of internal unsupported methods?

Hi João Mateus, I'll fix the component soon.

Yes, it would be possible to use the System action for that. I chose not to because the System Login action updates the last login date/time, and that was something I didn't want to happen.

Hi João Mateus, this issue is fixed with the new version of this component.