Giter Site home page Giter Site logo

Comments (13)

vbaranov avatar vbaranov commented on May 21, 2024

@Gopal-Gurram it should be:

http://127.0.0.1:4000/auth/logout

in the allowed logout URLs

from blockscout.

Gopal-Gurram avatar Gopal-Gurram commented on May 21, 2024

still the same error and it was redirecting the below URL ,

https://dev-3c5uvx24zuwoigrb.us.auth0.com/v2/logout

from blockscout.

vbaranov avatar vbaranov commented on May 21, 2024

Login works fine at the same time, right? Are you on the latest Blockscout version?

from blockscout.

Gopal-Gurram avatar Gopal-Gurram commented on May 21, 2024

yes login works fine and i have tried with the master branch and v5.2.1 beta

from blockscout.

vbaranov avatar vbaranov commented on May 21, 2024

Apart from this change everything looks fine. Did you try to ask in Auth0 support?

from blockscout.

Gopal-Gurram avatar Gopal-Gurram commented on May 21, 2024

yes I asked in auth0 community and they said pass the URL like this returnTo=http://127.0.0.1:4000/auth/logout. but its not taking in allowed logout URLs.

from blockscout.

Gopal-Gurram avatar Gopal-Gurram commented on May 21, 2024

In the below URL:
https://dev-3c5uvx24zuwoigrb.us.auth0.com/v2/logout?client_id=G5Z25TkDUIfqVGuX0oyCTRfVs9ergzcN&returnTo=%3A%2F%2F%2Fauth%2Flogout

after I replace the returnTo=%3A%2F%2F%2Fauth%2Flogout to returnTo=http://127.0.0.1:4000/auth/logout
Logout is working @vbaranov
But the thing is how to stop encoding the logout URL?

from blockscout.

vbaranov avatar vbaranov commented on May 21, 2024

@Gopal-Gurram try replacing 127.0.0.1 with localhost in the Auth0 dashboard.

from blockscout.

Gopal-Gurram avatar Gopal-Gurram commented on May 21, 2024

I am trying with domain also not working @vbaranov
The issue coming from the returnTo url encoding ?

from blockscout.

vbaranov avatar vbaranov commented on May 21, 2024

@Gopal-Gurram could you set BLOCKSCOUT_HOST=localhost_or_domain? Will this change what is in returnTo?

from blockscout.

Gopal-Gurram avatar Gopal-Gurram commented on May 21, 2024

After I gave the BLOCKSCOUT_HOST=localhost, it was working fine and @vbaranov one more issue about
ACCOUNT_PUBLIC_TAGS_AIRTABLE_URL=https://api.airtable.com/v0/.../Public%20Tags
ACCOUNT_PUBLIC_TAGS_AIRTABLE_API_KEY=key...
airtable is not allowing to create api key and they are allowing to use public access tokens , Can we use the public access tokens instead of api key?

from blockscout.

SurenFTN avatar SurenFTN commented on May 21, 2024

Hello @Gopal-Gurram how you solved the issue with access tokens ?

from blockscout.

Gopal-Gurram avatar Gopal-Gurram commented on May 21, 2024

We have to use the machine to machine application in Auth0?

from blockscout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.