You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But since my server doesn't have a gui I have to use the device code flow to set this up.
At the first try I opened the page OIDC-AGENT had given I found myself on a page to setup an authenticator for my Authentik account... that was not right for a device code flow.
I went directly to the Authentik documentation website but only found some documentation about the device code flow that only told me that there was no blueprint for it by default and you had to create it. But how???
After a lot of searching and some hours later I finally found some posts online about how to setup the device code flow.
After adding a new flow and added the flow in the brand settings page as device flow I was certain that it would work this time.
But no matter how hard I tried, no matter what parameters I changed, no matter how many new providers I created, the only thing that I get is:
Error: invalid_grant: The provided authorization grant or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client
While OIDC-Agent gives this error my browser is giving a different message on the Authentik page: Your device is successfully authenticated.
When searching on the Authentik github for any already existing issues on the matter I found one that had exactly the same problem but unfortunately the issue was closed without any response...
Describe the bug
I am trying to use OIDC-Agent to get an access token for owncloud to use in Rclone.
I found an example for it on the Rclone website:
Rclone Owncloud OIDC Setup Instructions
But since my server doesn't have a gui I have to use the device code flow to set this up.
At the first try I opened the page OIDC-AGENT had given I found myself on a page to setup an authenticator for my Authentik account... that was not right for a device code flow.
I went directly to the Authentik documentation website but only found some documentation about the device code flow that only told me that there was no blueprint for it by default and you had to create it. But how???
After a lot of searching and some hours later I finally found some posts online about how to setup the device code flow.
After adding a new flow and added the flow in the brand settings page as device flow I was certain that it would work this time.
But no matter how hard I tried, no matter what parameters I changed, no matter how many new providers I created, the only thing that I get is:
Error: invalid_grant: The provided authorization grant or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client
While OIDC-Agent gives this error my browser is giving a different message on the Authentik page: Your device is successfully authenticated.
When searching on the Authentik github for any already existing issues on the matter I found one that had exactly the same problem but unfortunately the issue was closed without any response...
#5566
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not give an error.
Screenshots
Logs
I found only logs about model creation and model editing when going to the logs section of the Authentik site.
Version and Deployment (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: