This topic has 9 replies, 4 voices, and was last updated 6 years, 6 months ago by twatson.
-
AuthorPosts
-
June 29, 2015 at 5:33 pm #4587
[email protected]
ParticipantHI all
I have problem ,
I want to register users openam use application,
REST API call returns 1 then openAM link on email
when the link was clicked, it appears the registration form of openAM
I want to stop when the user clicks the link in the email on Webbrowser
http://openam.example.com:8080/OpenAM-12.0.0/XUI/confirm.html?confirmationId=3ATRzY03Tery8kiAgV0WgSuxH28=&[email protected]&tokenId=ov5HxemCPU7cISrVR+bW1oszuZM=&realm=/
and obtain the information in the link to call
REST API
https://openam.example.com:8080/OpenAM-12.0.0/json/users?_action=anonymousCreate
in my application.
In http://docs.forgerock.org/en/openam/12.0.0/dev-guide/
I see : Intercept the HTTP GET request to this URL when the user clicks the link.
But I can’t do it
Please help me
Thank
Dung-
This topic was modified 7 years, 1 month ago by
[email protected].
-
This topic was modified 7 years, 1 month ago by
[email protected].
-
This topic was modified 7 years, 1 month ago by
[email protected].
June 29, 2015 at 11:09 pm #4595Rogerio Rondini
ParticipantHi Dung,
You can configure a your own custom confirmation page. In the self-registration (see snippet of documentation below) you can change default “confirm.html” page by an custom page in you application. In this sense, you don`t need to intercept because OpenAM will send the link of your application.
You must enable self-registration in the User Self Service service. You can configure these globally in OpenAM console at Configure > Global > User Self Service. On the User Self Service page, click the Enabled checkbox next to Self-Registration for Users, and then click Save. At this point users can self-register. The starting screen for self-registration is at /XUI/#register/ under the base URL where OpenAM is installed. The default confirmation URI is /XUI/confirm.html.
At.
Rogerio RondiniJune 30, 2015 at 4:15 am #4604[email protected]
ParticipantHi Rogerio Rondini
I know openaM have send to the link of my page , but i don’t understant “Link of application”
Please help me
I want then click link from gmail and show page register on my application.
ThanksJune 30, 2015 at 2:13 pm #4610Rogerio Rondini
ParticipantHi,
Supposed that your application is “http://myapp.example.com/site”. You can create a custom confirmation page like “http://myapp.example.com/site/confirmation.jsp” (or php, or whatever..). You can go to OpenAM User Registration config and add “http://myapp.example.com/site/confirmation.jsp” as confirmation page.
OpenAM will send that link in the email. When user click on the link, it will submit a request to your “confirmation.jsp”. Inside the “confirmation.jsp”, you can write a code to extract parameters from request and call other REST service as you need.
Abs.
Rogerio RondiniJune 30, 2015 at 6:01 pm #4611[email protected]
Participanthi Rogerio Rondini
Thanks for your help
now i was control it., and now i want to used oauth2 facebook wit my application or website
i have create app in facebook , and config oauth2.0 with facebook
but i don’t know create client (application or website ) login to facebook and save user to database
if you know. please help me
i want to see source of one page have one button login to facebook and save user to databaseThanks
June 30, 2015 at 9:27 pm #4612Rogerio Rondini
ParticipantHi..
Did you checked the following link ?
https://forgerock.org/2015/01/openam-12-social-authentication/Basically, you will need to configure OAuth2 Authentication Module in OpenAM.
Abs.
Rogerio RondiniJuly 1, 2015 at 3:46 am #4614[email protected]
Participanthi Rogerio Rondini
i know use social networks
and configurations but your links are with openam social login and use code openam
I want to create a new page
For example:
OpenAm: http: //openam.example.com: 8080 / openam / missions / Home
My page: http: //mywebsite.com in my site login button with facebook
Thanks
Dung.January 7, 2016 at 10:00 pm #6722twatson
ParticipantHi,
I am trying to configure OpenAM’s self-registration email URL to be a custom page in my application. I have made the change in the Configuration->Global->User Self Service to use my URL for my website and whenever I make the REST call to register, the email I get back still has the original URL of the following form http://openam/XUI/confirm.html?, where it should have been what I typed User Self Service screen.
We are using version 12.0.0, is there a patch that we need? One person in the chain said this works, what version are you using?
Any help is greatly appreciated.
Thurston
January 12, 2016 at 3:45 pm #6767Peter Major
ModeratorYou should really change the realm specific settings, so go to Access Control –
– Services – User Self Service page and make your changes there. January 12, 2016 at 7:20 pm #6787twatson
ParticipantThank you, I has missed adding the query parameter for the realm to the REST call. It works!
Thank you very much
Thurston
-
This topic was modified 7 years, 1 month ago by
-
AuthorPosts
You must be logged in to reply to this topic.