Skip to main content
Solved

Public user subscription / registration

  • December 26, 2023
  • 7 replies
  • 134 views

Forum|alt.badge.img

We have a web page (Power Page) where we a new visitor can register and become a new user.

What we have in mind is to submit the user data to IAM using PowerAutomate and the Indicium API. However there is not much information (or incomplete) available in the documentation nor the community.

How can we create a user in IAM using an Indicium API call (if possible)?

 

Best answer by Freddy

AlfonsM wrote:

The authentication is done through registration on a power pages page. From there I'd like to either connect to the Thinkwise environment or create a New user using a remote call - if this is possible.

 

In this matter I am learning on the Go, I have no real experience with OAuth2 and depend on clear information.


Do yo have a suggestion how we can connect a selfregistration page to the Thinkwise environment?

 

In the current setup, I have a self registration page in PowerPages, which works fine.

The Power Automate flow should connect to the TW IAM using an API. But I do not know how to continue from here.

 

Can I create a user in IAM remotely  and if not ho do I connect IAM to the authenticated user?

Any help or advise is very welcome, though possibly this may be a first case for TW as well.

I fiddled a bit with something similar for a proof of concept. 

I understand you want to create a user in Thinkwise based on the form. 

The easiest way I got it working is to:

  • Use the standard API calls of the IAM.
  • Create a template user with all the default settings and authorizations.
  • Then invoke via the API the copy user task; template user > user from the form.
  • Subsequently you can invoke the set password task. 
  • Depending on your situation you might need to set the new user active. 

Basically that's it, the user should then ben able to login. This will work perfectly with IAM users.. all other types depend of course on the selected authentication method. 

Hope this helps. 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

7 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Alfons,

It is quite depending on which type of authentication you want to use. Which one would you like to use?


Forum|alt.badge.img
  • Author
  • Apprentice
  • 6 replies
  • December 27, 2023

We are using OAuth 2, but any will do if it works better.


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Thats good, but will the users be External users; as in athentication type External? Which means the authentication for that particular user is done elsewhere. We do need the info on how the selfregistered users will be authenticated.


Forum|alt.badge.img
  • Author
  • Apprentice
  • 6 replies
  • January 3, 2024

The authentication is done through registration on a power pages page. From there I'd like to either connect to the Thinkwise environment or create a New user using a remote call - if this is possible.

 

In this matter I am learning on the Go, I have no real experience with OAuth2 and depend on clear information.


Do yo have a suggestion how we can connect a selfregistration page to the Thinkwise environment?

 

In the current setup, I have a self registration page in PowerPages, which works fine.

The Power Automate flow should connect to the TW IAM using an API. But I do not know how to continue from here.

 

Can I create a user in IAM remotely  and if not ho do I connect IAM to the authenticated user?

Any help or advise is very welcome, though possibly this may be a first case for TW as well.


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Little while back I did manage to get a Custom connector working via OAuth. The steps here helped with that: Client applications | Thinkwise Documentation (thinkwisesoftware.com)

PKCE was not supported in Power Apps so that had to be disabled in IAM. I'm currently running a bit low on capacity due to the upcoming 2024.1 release. I'll see if I can find another colleague to help out with this; or other Community members are of course welcome to answer here too.


Freddy
Forum|alt.badge.img+16
  • Thinkwise Local Partner Brasil
  • 529 replies
  • Answer
  • January 5, 2024
AlfonsM wrote:

The authentication is done through registration on a power pages page. From there I'd like to either connect to the Thinkwise environment or create a New user using a remote call - if this is possible.

 

In this matter I am learning on the Go, I have no real experience with OAuth2 and depend on clear information.


Do yo have a suggestion how we can connect a selfregistration page to the Thinkwise environment?

 

In the current setup, I have a self registration page in PowerPages, which works fine.

The Power Automate flow should connect to the TW IAM using an API. But I do not know how to continue from here.

 

Can I create a user in IAM remotely  and if not ho do I connect IAM to the authenticated user?

Any help or advise is very welcome, though possibly this may be a first case for TW as well.

I fiddled a bit with something similar for a proof of concept. 

I understand you want to create a user in Thinkwise based on the form. 

The easiest way I got it working is to:

  • Use the standard API calls of the IAM.
  • Create a template user with all the default settings and authorizations.
  • Then invoke via the API the copy user task; template user > user from the form.
  • Subsequently you can invoke the set password task. 
  • Depending on your situation you might need to set the new user active. 

Basically that's it, the user should then ben able to login. This will work perfectly with IAM users.. all other types depend of course on the selected authentication method. 

Hope this helps. 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi @AlfonsM, did you manage to solve the problem?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings