I want to get client url, on server side to continue (redirect) after authication process : Inside my script :
...
server.register({
register: require('./libs/hapi-passport-saml'),
options: {
callbackUrl: /* I want to put client url her */,
issuer: ....,
...
}
}
...
Thanks
You can do it like this: First require url package on top:
Then you can have client url in function: