Skip to content

Conversation

@HEllRZA
Copy link
Collaborator

@HEllRZA HEllRZA commented Aug 31, 2020

No description provided.

krishnadurai and others added 18 commits July 8, 2020 16:24
Signed-off-by: justin-slowik <[email protected]>
Signed-off-by: justin-slowik <[email protected]>
Signed-off-by: justin-slowik <[email protected]>
* Added /device/token handler with associated business logic and storage tests.

* Use crypto rand for user code

Signed-off-by: justin-slowik <[email protected]>
* Added /device/token handler with associated business logic and storage tests.

Perform user code exchange, flag the device code as complete.

Moved device handler code into its own file for cleanliness.  Cleanup

* Removed PKCE code

* Rate limiting for /device/token endpoint based on ietf standards

* Configurable Device expiry

Signed-off-by: justin-slowik <[email protected]>
Extracted test cases from OAuth2Code flow tests to reuse in device flow

deviceHandler unit tests to test specific device endpoints

Include client secret as an optional parameter for standards compliance

Signed-off-by: justin-slowik <[email protected]>
Signed-off-by: justin-slowik <[email protected]>
Signed-off-by: justin-slowik <[email protected]>
Signed-off-by: justin-slowik <[email protected]>
Signed-off-by: justin-slowik <[email protected]>
Signed-off-by: justin-slowik <[email protected]>

Remove extraneous "=" from conformance.go

Co-authored-by: Joel Speed <[email protected]>

Additional test for TestHandleDeviceCode

Signed-off-by: justin-slowik <[email protected]>
Implementing the OAuth2 Device Authorization Grant
discovery endpoint /dex/.well-known/openid-configuration
now has the following entry:

"code_challenge_methods_supported": [
  "S256",
  "plain"
]

Signed-off-by: Bernd Eckstein <[email protected]>
@HEllRZA HEllRZA merged commit 06f40be into feature/PKCE Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants