locked
Authentication in adfs using services RRS feed

  • Question

  • hello,

    I have an ADFS 4.0 implemented and working with Active Directory as a claim provider trust. Im able to login using the adfs login page. Now, I would like to authenticate using services, so that the users dont need to use this login page. I believe I should use the following services:

    https://my.adfs.url/adfs/oauth2/authorize?response_type=code&client_id=myID&resource=https://my_resourcet&redirect_uri=https://callback.page

    https://my.adfs.url/adfs/oauth2/token

    To accomplish this, I also beleive I need to create an oauth client. and I did that. 

    Using this services Im able to get a code in the first call and a token in the second. the problem is that the user/password of the Active Directory claim provider trust are not bein used. I was expecting to be able to get a token only for the users of the claim trsut I have defined. However, I gettign a token even if I dont specify a user/pwd.

    Im trying something like this: https://medium.com/@anjola.awofisoye/how-to-setup-automated-token-retrieval-in-adfs-3-0-using-postman-8b66cb4c5d85

    So, basically Im assuming that that my oauth client would only be able to authenticate users from sources defines in the claim provider trust, but it seems Im wrong.

    Thus my question is: how can I get a token from ADFS services for a specific claim provider trsut?

    regards!

    Monday, January 6, 2020 11:38 AM