-
manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago
Yes it redirects to login page and after successful login I redirect it to OAuth2Proxy.jsp with params ‘state'(containing state sent by openam) and ‘code'(containing access token) which redirects to http://openam.example.com:8080/openam/json/authenticate?realm=/ . In the response I get {“code”:500,”reason”:”Internal Server Error”,”m…[Read more]
-
manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago
Yes it redirects to login page an after successful login I redirect it to OAuth2Proxy.jsp with params ‘state'(containing state sent by openam) and ‘code'(containing access token) which redirects to http://openam.example.com:8080/openam/json/authenticate?realm=/ . In the response I get {“code”:500,”reason”:”Internal Server Error”,”m…[Read more]
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 9 months ago
After successful login from my app, openam redirects to /OAuth2Proxy.jsp which redirects to http://openam.example.com:8080/openam/json/authenticate?realm=/ with following parameters:
{
“authId”: “eyAidHlwIjogIkpXVCIsICJhbGciOiAiSFMyNTYiIH0.eyAiYXV0aEluZGV4VmFsdWUiO”,
“authIndexType”: “module”,
“authIndexValue”: “django-auth”,
“code”:…[Read more] -
manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago
-
manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago
Thanks, that was helpful.
@jang2212 @tejanshPlease help me with my case.
I have my app which uses internal oAuth module to grant access_token on successful login.
Now I create an openam module with endpoints of my app to access its oAuth, and if account details are matched proxy oAuthProxy.jsp hits /json/authenticate/ to authenticate but this…[Read more]
-
manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago
Thanks, that was helpful.
@jang2212 @tejanshPlease help me with my case.
I have my app which uses internal oAuth module to grant access_token on successful login.
Now I create an openam module with endpoints of my app to access its oAuth, and if account details are matched proxy oAuthProxy.jsp hits /json/authenticate/ to authenticate but this…[Read more]
-
manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago
@jang2212 I could not get your point, do I need to set it on my oAuth service provider app or on OpenAM side. And if it is openAM side, there is no option in module settings to set the cookie.
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 9 months ago
@vincent-mirzaiansolucom-fr the user does not exists in OpenAM repository. But I have enabled “Create account if it does not exist” in module settings.
Also, I tried the two processes you told me and it’s still not working.
-
manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago
@jang2212 were you able to solve this issue?
I am stuck at the same point as you are (ERROR: OAuth.process(): Authorization call-back failed because there was no state parameter).
And also I get 401 Unauthenticated when I am redirected to http://openam.example.com:8080/openam/json/authenticate?realm=/ after login URL success. But when I hit…[Read more]
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 9 months ago
Thanks for replying.
These are the settings I have made:
Authentication End Point: http://djangoserver.com/login (Get request to open login window)
Access Token Endpoint URL: http://djangoserver.com/login (POST request which returns code= access_token from django server)
User Profile Service URL: http://djangoserver.com/get-profile (which will…[Read more] -
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 9 months ago
@vincent-mirzaiansolucom-fr this is not Facebook authentication but oAuth authentication with my Django project (which uses django-oauth2)
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 9 months ago
Hi,
So, I was able to solve the above issue for my third party Authentication, but another hurdle comes.
When I get the login page of my third party Authentication, I enter my details and login. It runs successfully.
But then OpenAM runs internal APIs which is throwing 401 unauthenticated. Here are the things that is causing error:
1.…[Read more]
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 10 months ago
Here is the error when I enabled debug.
Error while retrieving SSOToken for login failure: Authentication Error!!|auth_error_template.jsp
errorCod=’102′, resProperty=’Authentication Error!!|auth_error_template.jsp’
Error Message : Authentication Error!!
@peter-major @rarondini @vincent-mirzaiansolucom-fr any help would be appreciated.
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 10 months ago
I am getting this error.
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 10 months ago
I am now working on OpenAM v13.0 and able to authenticate via Facebook, but for my third party login APIs I get Authentication Error when I try to hit http://openam.example.com:8080/openam/XUI/#login/&module=my-auth. And in the debug, I get this error:
Although I have properly configured my end point URLs.
amAuth:10/12/2016…
-
manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 10 months ago
I am now working on OpenAM v13.0 and able to authenticate via Facebook, but for my third party login APIs I get Authentication Error when I try to hit http://openam.example.com:8080/openam/XUI/#login/&module=my-auth. And in the debug, I get this error:
amAuth:10/12/2016 01:14:02:099 PM IST: Thread: TransactionId
ERROR: The crypto… -
manasvi replied to the topic OpenAM v.13.0.0 social authentication failure: suffix is not defined in the forum Access Management 5 years, 10 months ago
@Bill now that thing is working fine. I re-installed OpenDJ (because I wrote few commands to create an ou which might have caused some issues).
Thanks for your valuable time and your help.
-
manasvi replied to the topic OpenAM v.13.0.0 social authentication failure: suffix is not defined in the forum Access Management 5 years, 10 months ago
@Bill the issue still persists. the suffix was created successfully, but still getting error suffix does not exists
-
manasvi replied to the topic OpenAM v.13.0.0 social authentication failure: suffix is not defined in the forum Access Management 5 years, 10 months ago
Hi Bill,
Thanks for replying.
As of now my database in OpenDJ is empty with base-dn=”dc=example,dc=com” and it doesn’t have any child nodes. When I was working on OpenAM 10, I didn’t get that error. Also, I don’t have much idea about how this works so can you please share any link where I can learn to add container beneath this.
Here is the…[Read more] -
manasvi started the topic OpenAM v.13.0.0 social authentication failure: suffix is not defined in the forum Access Management 5 years, 10 months ago
Hi,
I am using OpenDJ as external datastore and getting this error for authentication via social login. I have defined my DN as dc=example,dc=com. But I am getting error suffix is not defined. Where shall I make the changes to solve this problem. Here is the error message:
amAuth:10/04/2016 11:29:49:913 AM IST: Thread: TransactionId
ERROR:… - Load More