cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kiangorji
Level 3

UseAdministration Web Service

Jump to solution

Hello,

One of our developers has a few questions, and he asked me to post his questions here. Thank you in advance for your help.

 

I want to create a link with the user credentials, so from our website, if the user clicks on that link, they will be redirected to their portal in Flexera without the need to log in again. So based on your FlexNet Operation 2020 (Release 2 sp1) documentation, on the section "Configuring Secure Token Single Sign-on."

  1. I tried to create a native authentication, and it's written in the document that I need to use the UserAdministration web service, but I can't find that service. I am using the following URL https://flex1685-uat.flexnetoperations.com/flexnet/services/UserAdministration?wsdl.
  2. On page 712, it is mentioned that we need to create a FlexNet user for a web service client. From which service I can create that user?
  3. Do you have any examples of how to generate an SSO token with C#?
0 Kudos
(1) Solution
jberthold
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @kiangorji ,

  1. You'll want to use the FlexNet Authentication web service.  The wsdl for your UAT site would be https://flex1685-uat.flexnetoperations.com/flexnet/services/FlexnetAuthentication?wsdl
  2. There are 2 users involved in this process. When you request a secure token you will pass in the username (email address) of the end customer that you wish to sign in via SSO to the FlexNet Operations Customer Portal.  This user must exist as a customer user in FlexNet Operations.  If you wish to first create this user via Web services you could use the createUser request in the UserAcctHierarchyService,https://flex1685-uat.flexnetoperations.com/flexnet/services/v3/UserAcctHierarchyService?wsdl  The second user is the Producer user with web services permissions whose credentials you will use for authentication in the secureTokenRequest web service call.  This is typically a Producer user with a System Administrator role.  You only need to create one user for this function so typically it will be done manually in the Producer Portal.  I have attached a SOAP UI screenshot of the secureTokenRequest and  the FlexNet Operations response with the token.   Once you have the secure token you can then construct the URL the customer will use to SSO to the FlexNet Operations Customer Portal (example also in attached screenshot).
  3. I am not aware of any C# sharp examples for the token generation, if I find something I'll update this post.

Thanks,

View solution in original post

(1) Reply
jberthold
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @kiangorji ,

  1. You'll want to use the FlexNet Authentication web service.  The wsdl for your UAT site would be https://flex1685-uat.flexnetoperations.com/flexnet/services/FlexnetAuthentication?wsdl
  2. There are 2 users involved in this process. When you request a secure token you will pass in the username (email address) of the end customer that you wish to sign in via SSO to the FlexNet Operations Customer Portal.  This user must exist as a customer user in FlexNet Operations.  If you wish to first create this user via Web services you could use the createUser request in the UserAcctHierarchyService,https://flex1685-uat.flexnetoperations.com/flexnet/services/v3/UserAcctHierarchyService?wsdl  The second user is the Producer user with web services permissions whose credentials you will use for authentication in the secureTokenRequest web service call.  This is typically a Producer user with a System Administrator role.  You only need to create one user for this function so typically it will be done manually in the Producer Portal.  I have attached a SOAP UI screenshot of the secureTokenRequest and  the FlexNet Operations response with the token.   Once you have the secure token you can then construct the URL the customer will use to SSO to the FlexNet Operations Customer Portal (example also in attached screenshot).
  3. I am not aware of any C# sharp examples for the token generation, if I find something I'll update this post.

Thanks,