looking into this, just a question, is it possible to URL encode entityID in query string and use in along with person script
problem/culprit is two '?' one is authorize? and another is ?alias
that's why webserver will drop secod '?' (that some how makes complete url invalid)
https://idp-dev.ids.xxx.ninja/oxauth/restv1/authorize?response_type=code &client_id=%40%2183C0.E893.0E3D.CFDE%210001%218A12.CDBD%210008%218C6D.2374 &scope=openid+email+user_name &redirect_uri=https%3A%2F%2Fidp-dev.ids.xxx.ninja%2Fidp%2FAuthn%2FoxAuth &state=eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJjb252ZXJzYXRpb24iOiJlMnMxIiwic3RhdGUiOiJ1YVJKUjQ3bXJkIn0. &nonce=ijmwAUuf6u &entityId=https://analytics-dev.work.local/samlservice/public/sp/metadata?alias=d3da8f57-95a7-4ece-a930-3c9dfc011a07
Solution/Option can be/will be
https://idp-dev.ids.xxx.ninja/oxauth/restv1/authorize?response_type=code &client_id=%40%2183C0.E893.0E3D.CFDE%210001%218A12.CDBD%210008%218C6D.2374 &scope=openid+email+user_name &redirect_uri=https%3A%2F%2Fidp-dev.ids.xxx.ninja%2Fidp%2FAuthn%2FoxAuth &state=eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJjb252ZXJzYXRpb24iOiJlMnMxIiwic3RhdGUiOiJ1YVJKUjQ3bXJkIn0. &nonce=ijmwAUuf6u &entityId=https%3A%2F%2Fanalytics-dev.work.local%2Fsamlservice%2Fpublic%2Fsp%2Fmetadata%3Falias%3Dd3da8f57-95a7-4ece-a930-3c9dfc011a07