How does autodesk forge automatically get accessToken (JS or c-sharp)

how does autodesk forge get accessToken (JS or c-sharp automatically? In other words, how to automatically obtain the accesstoken below?
clipboard.png

Feb.28,2021

the accessToken, cannot be obtained from the front end for security reasons, so you need to start from the back end. At this point, there are two options:

  1. write a Web API, to get Access Token through the API Controller of ASP.NET. In this Web API, call Forge OAuth API to get the front end Forge Viewer of Access Token,. This head calls the Web API to get Token, through AJAX. For more information, please see:

  2. write Proxy through ASP.NET to direct all access actions related to Forge service to your own back-end application, and request Token and converted model data from Forge service directly through the back-end application. For more information, please see https://forge.autodesk.com/bl..

I hope this is helpful to you!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3371c-2b610.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3371c-2b610.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?