Commit graph

9 commits

Author SHA1 Message Date
Tim Möhlmann
c9ab349d63 op: remove user code endpoint 2023-02-28 12:19:11 +02:00
Tim Möhlmann
a80ad6df8a Revert "use AuthRequest code flow to create device tokens"
This reverts commit b885398466.
2023-02-28 12:03:28 +02:00
Tim Möhlmann
b885398466 use AuthRequest code flow to create device tokens 2023-02-27 08:18:33 +01:00
Tim Möhlmann
65cd4528e4 don't obtain a Client from storage on each poll
First verify if the client is authenticated.
Then the state of the device authorization.
If all is good, we take the Client from Storage.
2023-02-26 18:23:43 +01:00
Tim Möhlmann
f26e155208 extract client authentication from introspection
reuse the client authentication code for device authorization
and introspection.
2023-02-25 00:31:22 +01:00
Tim Möhlmann
0f9ec46aaa properly set expires in storage 2023-02-24 10:18:31 +01:00
Tim Möhlmann
cd12413f26 change base to next 2023-02-23 14:36:04 +01:00
Tim Möhlmann
c12305457b some updates after feedback 2023-02-23 14:30:56 +01:00
Tim Möhlmann
671b13b9c6 implement RFC 8628: Device authorization grant
WIP

Related #264
2023-02-23 14:30:56 +01:00