go to post Michael Breen · Feb 12, 2019 Hi @Daniel Kutac - For modern versions, you'll need to change this line in Web.OAUTH2.Google2N: w jsonObject.$toJSON() to w jsonObject.%ToJSON() because we're now returning a %DynamicAbstractObject
go to post Michael Breen · Jun 26, 2017 Hello Sneha - I would implement that as a custom-code transformation (DTL). That way it could be used in a router. Would you consider posting it here? I can show you how to convert it. How are you storing the XML and the JSON?
go to post Michael Breen · Dec 9, 2016 One more thing to check is if the router's class name in the production config is correct.
go to post Michael Breen · Nov 16, 2016 I added a bit of intro, thanks. Let me know if you think I should add more.
go to post Michael Breen · Nov 2, 2016 Hi Matthew - Have you tried:set credentials = ##class(Ens.Config.Credentials).%OpenId(..Adapter.Credentials)Then you can use:credentials.Username and credentials.Password.But there's no domain, sorry.
go to post
Hi @Daniel Kutac -
For modern versions, you'll need to change this line in Web.OAUTH2.Google2N:
w jsonObject.$toJSON()
to
w jsonObject.%ToJSON()
because we're now returning a %DynamicAbstractObject
go to post
Hello Sneha -
I would implement that as a custom-code transformation (DTL). That way it could be used in a router. Would you consider posting it here? I can show you how to convert it. How are you storing the XML and the JSON?
go to post
One more thing to check is if the router's class name in the production config is correct.
go to post
I added a bit of intro, thanks. Let me know if you think I should add more.
go to post
Hi Matthew -
Have you tried:
set credentials = ##class(Ens.Config.Credentials).%OpenId(..Adapter.Credentials)
Then you can use:
credentials.Username and credentials.Password.
But there's no domain, sorry.