Criticize my setup

I never noticed any issue with it. Looks like dex supports it out of the box: Implementing the OAuth2 Device Authorization Grant by justin-slowik · Pull Request #1706 · dexidp/dex · GitHub
At least when I log in via the CLI, i see something this:

tibeer@apollo ~ % incus list
URL: https://dex.xyz.foo.bar/dex/device?user_code=RCEB-NFHS
Code: RCEB-NFHS

And I am automatically forwarded to a browser which looks like this:

Once “Submit” is clicked, I see the normal view:

And when I log in, this is shown:

And my CLI continues:

tibeer@apollo ~ % incus list
URL: https://dex.xyz.foo.bar/dex/device?user_code=RCEB-NFHS
Code: RCEB-NFHS

±-----±------±-----±-----±-----±----------±---------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | LOCATION |
±-----±------±-----±-----±-----±----------±---------+
tibeer@apollo ~ %

I hope this helps :slight_smile:

1 Like