Oauth2.0: core.getuser() doesnt retrieve the initialized user from our proprietary openid connect provider...user here is populated manually into system.user / administration.account objects post authentication
hi team, we are trying to work on a POC wherein we are connecting to a proprietary opened connect provider and trying to authenticate / authorize users. Now, post this, since, we don't have a user repository that mendix understands (for. ex. mendix db), we are trying to override the context by filling the system.user / administration.account objects with the logged in user credentials and then trying to initialize it / createsession out of it. Now, we see that the core.getuser() function doesn't retrieve user which has been initialized using the method user.initialize(context, administrator.account mendix object). Not sure what's wrong here?? can some one help... Ideally, post this, we should be able to create session out of the method...createsession()...
Isn't it possible to solve your problem in Mendix like developing?