01-18-2018 12:45 AM - edited 01-18-2018 12:45 AM
Hi All,
How to configure an authorization for standalone workflows in GMSC 2016 basing on roles configured in GMSC admin console?
I could find no documentation nor instruction except this one:
Could you please provide some instructions?
Regards
Piotr
01-23-2018 08:54 AM
Hi Piotr,
this is possible, but it requires a custom implementation. Basically the idea is to implement something similar we have in GMSC administrator (admin itself is nothing but a workflow with additional components).
If you take a look at the admin web.config you will find a section like this:
<system.web> <authentication mode="Forms"> <forms loginUrl="~/ScAccount/Index" timeout="2880" /> </authentication>
In the case of the Admin, there is a ScAccountController, which is used to display the login screen and login to. (As you can see the ScAccountController part of the loginUrl from the web.config).
What you need is to implement a custom controller and in particular the index method (to display the login screen) and the login method (implementing login).
HTH,
Stefano
05-27-2020 05:16 AM - edited 05-31-2020 11:30 PM
I've found that sample template with login implementation is located here:
https://bitbucket.org/HGDN/hgdn_gmsc/src/master/IntegratedSamples/BuildingPermits/