Good morning Ankit,
We had the same issue:
https://community.esri.com/t5/arcgis-rest-api-questions/how-to-open-secured-rest-api-url-in-web-map-without-prompt-for/m-p/1018135#M3700
Thanks heaps @JoseSanchez it resolved the issue..
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.