Open Closed

Enable OAuth for Host or Implement oAuth for Host #7842


User avatar
0
castcrewit created
  • ABP Framework version:Latest
  • UI Type: Angular
  • Database System: EF Core ( MySQL) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

We have a requirement where we have to connect to an external provider , however the workflow is the user has to login to Host and then Login To Tenant through account linking.

But what I have understood is there is no OAuth implementation for Host.

Can you guide me how to implement it at the Host level ?

Thanks Partha


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    But what I have understood is there is no OAuth implementation for Host.

    Can I know where you got the there is no OAuth implementation for Host?

    https://abp.io/docs/latest/modules/account#social-external-logins

  • User Avatar
    0
    castcrewit created

    My Bad, I was able to find by clicking on Manage Host Settings. I will close this ticket once I test it. Thank you for a quick response.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

  • User Avatar
    0
    castcrewit created

    I need to understand how oAuth works. I am trying to integrate with Okta, so I provided the Client ID and Client Secret and Authority as well and the Scope to be OpenId.

    Then I went ahead and added an user into the host which I know exists in my Okta , however when I was adding the user it was asking for a password, so I gave some random password.

    Then I went ahead and tried to login with the user and the password which is set in Okta and i was expecting to get through but couldn't.

    Can you please explain what to expect out OAuth ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share some of your oauth configration and the Logs.txt

    Thanks.

Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13