1. Need to develop a custom authentication page (PHP)
2. User credentials/group/user role will be based on ArcGIS Server user group list.
3. Once the user has been verified, it will redirect to its URL (web mapping page)
From what I have read, we need to use ArcGIS API for JS to retrieve user credential details.
[login to view URL]
I need someone who highly experience with token-based auth - ArcGIS API JS to implement this task.
Please share samples of ArcGIS API if really developed