Coder Social home page Coder Social logo

juntossomosmais / auth0-samples Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 633 KB

Having trouble integrating with Auth0? Just look at this repository and understand this process once and for all.

License: MIT License

Dockerfile 0.94% JavaScript 17.91% Python 43.94% Shell 1.09% HTML 30.29% SCSS 0.06% C# 4.33% HCL 1.45%
auth0 auth0-deploy-cli authorization-code-grant boostrap csharp javascript nextjs parcel python react single-sign-on

auth0-samples's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

Forkers

neilscallywag

auth0-samples's Issues

The `fron-tend` is not handling custom error responses

The login endpoint from Authentication API could return http errors (4*) with custom messages in body. Take a look at the following response example:

{
    "name": "Error",
    "message": "Bla Bla",
    "fromSandbox": true
}

even so, the front-end is not handling that message and shows an empty red box:

Screen Shot 2022-03-14 at 10 43 29

It seems that the `orchestrator` is not creating the social login connections.

It seems that the orchestrator is not creating the social login connections.

Screen Shot 2022-03-11 at 10 55 29

When running the following command (as recommended in readme):

https://github.com/juntossomosmais/auth0-samples#seeing-them-in-action

update-settings_1 container throws an error:

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Creating auth0-samples_update-settings_1 ... done
Attaching to auth0-samples_update-settings_1
update-settings_1     | Retrieving configuration from clients A, B, C, and Django API, if available
update-settings_1     | Creating product A!
update-settings_1     | Creating product B!
update-settings_1     | Creating product C!
update-settings_1     | Creating Django API client!
update-settings_1     | Creating resource server with identifier: https://user-management/django-api/api/v1
update-settings_1     | Updating settings for the following file: /app/product-a/.env.development
update-settings_1     | Updating settings for the following file: /app/product-b/.env.development
update-settings_1     | Updating settings for the following file: /app/product-c/.env.development
update-settings_1     | Updating settings for the following file: /app/django-api/.env.development
update-settings_1     | Updating connections with the enabled clients. Current number: 2
update-settings_1     | Traceback (most recent call last):
update-settings_1     |   File "/app/manage.py", line 4, in <module>
update-settings_1     |     main()
update-settings_1     |   File "/app/orchestrator/main.py", line 198, in main
update-settings_1     |     google_connection_id = retrieve_id_by_connection_name(connections, google_connection)
update-settings_1     |   File "/app/orchestrator/main.py", line 62, in retrieve_id_by_connection_name
update-settings_1     |     raise UnexpectedBehaviorException(message)
update-settings_1     | orchestrator.main.UnexpectedBehaviorException: Could not find connection for google-oauth2. Are you sure you did create it?
auth0-samples_update-settings_1 exited with code 1

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.