curso-r / auth0

Authentication in shinyapps using Auth0 service
https://curso-r.github.io/auth0/
Other
152 stars 22 forks source link

Page update: Seeking Solution after refresh #94

Open nionmaron opened 4 months ago

nionmaron commented 4 months ago

I am reaching out again regarding the OAuth 2.0 authentication error in the auth0 R package that occurs during page refresh , specifically the Error in httr::oauth2.0_access_token(api, app(redirect_uri), params$code). This issue has been previously commented on, but a definitive solution has not been found.

I am seeking any additional insights or alternative solutions. Is there a way to mitigate or circumvent this error, especially during the page refresh process?

cwilligv commented 1 month ago

I'm having the same issue here. I built an application about a year ago and the JS script in the header actually did the trick. However, in this new app I'm building at the moment it just doesn't work. Refreshing the page sends me straight back to login again, even if I had logged in a seconds ago.

Any workarounds? @nionmaron, have you found a workaround yet?