Git Product home page Git Product logo

aws-lambda-edge-oauth's People

Contributors

bman654 avatar satbirm-evenset avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aws-lambda-edge-oauth's Issues

Redirected to JSON with 401 instead of index.html

Hi
Really appreciate this project!
I had the same issue as here:
#3

but I opted to follow solution nr 2 and I changed my config and redirect line.
Auth0 login page properly shows, only after logging in I'm redirected to this url
https://domain/callback?dest=%2F&code=CODE&state=STATE
Cookies are saved after login, but it redirects me to my json object containing jwt token, network tab shows 401 for the above URL.
I tried setting Token Endpoint Authentication Method in Auth0 to both None or POST, but the effect is the same.

Getting Oops Page from Auth0

Thanks for building this! I have setup the configuration bucket as described and have the config file in there I have setup my tenant name as instructed, however when visiting the distribution I get redirected to the Oops page from Auth0, specifically its this URL,

https://.auth0.com/u/login

the previous call is to the login page,
https://.auth0.com/login?client=<CLIENT_ID>&redirect_uri=https%3A%2F%2F%2Flogincb%3Fdest%3D%252F

I do not have a route called /logincb I assume this is something your lambda? Or does this need to be a defined route? Any other ideas on what I can check or debug to get past the Oops? I never get a login prompt or anything, just a call to
/ (302)
https://.auth0.com/login?client=.... (302)
https://.auth0.com/u/login. (400) and oops

Thanks!

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.