manasvi

Home Members manasvi

Learn more about our upcoming Identity Summits

show less show more
Profile picture of manasvi

@manasvi

active 5 years, 9 months ago
Points balance: 151 ♪
Rank: manasvi
  • Activity
  • Profile
  • Groups 0
  • Forums
  • Personal
  • Mentions
  • Favorites
  • Groups
  • Profile picture of manasvi

    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]

  • Profile picture of manasvi

    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]

  • Profile picture of manasvi

    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]

  • Profile picture of manasvi

    manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago

    @jang2212 @tejansh any help?

  • Profile picture of manasvi

    manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago

    Thanks, that was helpful.
    @jang2212 @tejansh

    Please 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]

  • Profile picture of manasvi

    manasvi replied to the topic openam/XUI/#failedLogin in the forum Access Management 5 years, 9 months ago

    Thanks, that was helpful.
    @jang2212 @tejansh

    Please 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]

  • Profile picture of manasvi

    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.

  • Profile picture of manasvi

    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.

  • Profile picture of manasvi

    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]

  • Profile picture of manasvi

    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]

  • Profile picture of manasvi

    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)

  • Profile picture of manasvi

    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]

  • Profile picture of manasvi

    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.

  • Profile picture of manasvi

    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.

  • Profile picture of manasvi

    manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 10 months ago

    @peter-major

    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…

    [Read more]

  • Profile picture of manasvi

    manasvi replied to the topic OpenAM oAuth 2.0 authentication for web project in the forum Access Management 5 years, 10 months ago

    @peter-major

    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…

    [Read more]

  • Profile picture of manasvi

    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.

  • Profile picture of manasvi

    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

  • Profile picture of manasvi

    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]

  • Profile picture of manasvi

    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:…

    [Read more]

  • Load More
Profile Photo [email protected] Profile Photo richtea

Search the forums

Leaderboard

The leaderboard is based on our rockin' informal points system, read about it here.

Recent blog posts

  • Using an Authentication Tree Stage to Build a Custom UI with the ForgeRock JavaScript SDK February 26, 2020
  • Identity Workflow with AM using Zeebe and Cloud Functions February 19, 2020
  • IDM: Zero Downtime Upgrade Strategy Using a Blue/Green Deployment January 23, 2020
  • DS: Zero Downtime Upgrade Strategy Using a Blue/Green Deployment January 22, 2020
  • AM and IG: Zero Downtime Upgrade Strategy Using a Blue/Green Deployment January 22, 2020
Visit our blog

Recent Topics

  • Handle exception in Node Patch Object
  • SP Initiated SSO – Unable to do sso or federation
  • Realm level access
  • How can I generate 32 bytes Random salt in js script
  • Bypass Login Page in Chain

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

  • Blog
  • Documentation
    • OpenAM / Access Management
    • OpenDJ / Directory Services
    • OpenIDM / Identity Management
    • OpenIG / Identity Gateway
    • OpenICF / Open Connector Framework
    • Intro to Identity
  • Forums
    • General Discussion
    • ForgeRock Products
      • OpenAM
      • OpenIDM
      • OpenDJ
      • OpenIG
      • OpenUMA
    • DevOps
    • Internet of Things
    • Documentation
    • Groups
  • Twitter
  • Facebook
  • Linkedin
  • Youtube

Log in with your credentials

Lost your password?

Forgot your details?

I remember my details