-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
When trying to obtain a token using the device code authorization flow I cannot enter the user code manually in the form given by verification_uri. After entering the correct code and pressing submit, an error is displayed.
If I go directly to the verification_uri_complete URL (i.e. with ?code=) then it does work.
To Reproduce
Steps to reproduce the behavior:
- Create a new stage configuration flow. Set require authentication (I have also tried with no authentication)
- Change the brand's device code flow to this flow (I have also tried
default-source-pre-authentication) - Create an application with the OAuth provider. Set credentials type to public.
- Initiate a device code authorization flow through
/application/o/device - Navigate to the
verification_urigiven in the response and enter the user code - Press
Continue - An error is displayed
Expected behavior
Entering the code in the form should work the same way going directly to verification_uri_complete does
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Version and Deployment (please complete the following information):
- authentik version: 2024.10.1
- Deployment: docker-compose
Additional context
If there is specific configuration I need for the device code flow then it isn't documented anywhere.
I have tried the above steps in a private browsing session to no effect.
I have not been able to find any logs anywhere to indicate the underlying trace for the error displayed.

