PHP Classes

Oauth 2.0: Support for section 2.3.1

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  Oauth 2.0: Support for section 2.3.1  >  (Un) Subscribe thread alerts  
Subject:Oauth 2.0: Support for section 2.3.1
Summary:Does the App support Section 2.3.1 for Oauth 2.0
Messages:23
Author:dhairy
Date:2014-04-18 15:11:11
Update:2014-07-13 01:58:11
 
  1 - 10   11 - 20   21 - 23  

  1. Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of dhairy dhairy - 2014-04-18 15:11:11
Hi,

I am new to oAuth 2.0. I also read the documentation that is out there. But could not figure out if it supported Section 2.3.1 of oAuth 2.0

link : http://tools.ietf.org/html/rfc6749#section-2.3.1

I would really appreciate if I could get some pointers as to how to tweak the app to get it working for section 2.3.1

Thanks!!!

  2. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of dhairy dhairy - 2014-04-18 19:12:04 - In reply to message 1 from dhairy
it is a custom OAuth Grant Type(Flow). I need to my application to authenticate with the Authorization server per OAuth 2.0 specification, Section 2.3.1

I have just one URL that authenticates and request the token by hitting one endpoint. Is there any way your package could be tweaked ?

Thanks

  3. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-04-18 19:17:42 - In reply to message 1 from dhairy
Interesting, I have not yet noticed an API that supports this type of authentication. Do you know any public API that supports it so I can test it?

  4. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of dhairy dhairy - 2014-04-18 19:39:10 - In reply to message 3 from Manuel Lemos
It was just created for us.

  5. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-04-18 20:03:20 - In reply to message 4 from dhairy
It is a bit hard to test it with an example case. Would you be able to provide a temporary access to such API?

  6. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of dhairy dhairy - 2014-04-18 20:52:00 - In reply to message 5 from Manuel Lemos
Will your package work for Client Credentials Grant section 4.4
tools.ietf.org/html/rfc6749#section ...

  7. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-04-19 04:05:40 - In reply to message 6 from dhairy
The HTTP class can send any type of requests specified here, but the OAuth client does not have this flow implemented. It is not hard, so I can implement it, but I would need one API to test it.

It seems GitHub API supports Client Credentials Flow. I can try to implement it soon but it may take me a few days until I have time to work on it.

  8. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of dhairy dhairy - 2014-04-20 00:21:09 - In reply to message 7 from Manuel Lemos
that would be great. Thank you so much...

  9. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-15 10:08:51 - In reply to message 8 from dhairy
The latest release already supports getting a token with a username and password. Check the documentation for more details. Just let me know if it does not work for you.

  10. Re: Oauth 2.0: Support for section 2.3.1   Reply   Report abuse  
Picture of Tadej Tadej - 2014-07-09 21:13:26 - In reply to message 9 from Manuel Lemos
I was also checking this library for grant_type = client_credentials, but it looks like that unfortunately it's not supported.

I was wondering if you would still be interested into adding this feature? If you are still in need of the API that supports that, you could install Apigility (https://github.com/zfcampus/zf-apigility-skeleton), which supports both Oauth grant types mentioned in this topic (https://apigility.org/documentation/auth/authentication-oauth2).

 
  1 - 10   11 - 20   21 - 23