Re: [Dev] How to set query parameters in Adaptive Authentication

2019-03-14 Thread Prakhash Sivakumar
Hi Ruwan, On Fri, Mar 15, 2019 at 9:40 AM Ruwan Abeykoon wrote: > Hi Prakhash, > > Adding query parameters to the current request has no effect as the > authenticator prompt is always a redirection. Adding a value into > redirection URL most probably exposes internal private data via URL. >

Re: [Dev] How to set query parameters in Adaptive Authentication

2019-03-14 Thread Ruwan Abeykoon
Hi Prakhash, Adding query parameters to the current request has no effect as the authenticator prompt is always a redirection. Adding a value into redirection URL most probably exposes internal private data via URL. However you can consider adding a cookie to the response as an alternative. Here

[Dev] How to set query parameters in Adaptive Authentication

2019-03-14 Thread Prakhash Sivakumar
Hi Devs, I'm trying to assign a query parameter to the request during the authentication flow, but I couldn't find a reference on how to do this. function onLoginRequest(context) { if (context.request.params.prompt != null && context.request.params.prompt[0].equals("login")) {