Open CCHV-GitHub opened 1 year ago
Soo I found after manually grabbing a token using powershell the build in auth {{ Current User.OAuthToken }} started working while the powershell token was valid, when the powershell token expired so did the built in auth token {{ Current User.OAuthToken }}
I also checked that access tokens is allowed in the app registration
It looks like budibase is not grbbing the initial token or refreshing the token. Have I misconfigured something?
UPDATE: PLEASE SEE FIRST COMMENT FOR MORE DETAILS
Checklist
Hosting
Describe the bug {{ Current User.OAuthToken }} Authentication token not working correctly.
To Reproduce Steps to reproduce the behavior:
Create Authentication on Rest API Query as shown below
Create query and use the Azure AD auth that was created above.
Get Authentication Failed message
Expected behavior Authentication succeeds and gets results
Screenshots Shown above
Additional context I tested by simply getting a token via powershell and dropping it into the Authentication and it works successfully so the issue must be with the {{ Current User.OAuthToken }} handlebar, but I don't know how to diagnose.
BUDI-7514