Giter Club home page Giter Club logo

auth0-sso-dashboard-extension's Introduction

Auth0 SSO Dashboard Extension

CircleCI Maintainability Test Coverage

Running in Production

npm install
npm run client:build
npm run server:prod

Running in Development

Update the configuration file under ./server/config.json:

{
  "EXTENSION_CLIENT_ID": "client id of my app",
  "WT_URL": "http://localhost:3000/",
  "PUBLIC_WT_URL": "https://localhost:3000/",
  "AUTH0_RTA": "https://auth0.auth0.com",
  "AUTH0_DOMAIN": "me.auth0.com",
  "AUTH0_CLIENT_ID": "client id of my api client",
  "AUTH0_CLIENT_SECRET": "client secret of my api client"
}

There should be 2 clients. One (first) - "Single page application" with only necessary connection enabled and 'RS256' algorithm (advanced settings). Second (management client) - "Non Interactive" with scopes "read:clients update:clients read:connections read:users read:logs read:device_credentials".

Then you can run the extension:

npm install
npm run serve:dev

Custom Style

Customers can choose to implement their custom style, to do so the following settings can be added:

{
  "TITLE": "Fabrikam SSO Dashboard",
  "CUSTOM_CSS": "https://cdn.jsdelivr.net/gh/auth0-extensions/auth0-sso-dashboard-extension@master/docs/theme/fabrikam.css"
}

The CSS file has to be hosted by the customer and can be used to change the style of every component. An example can be found under docs/theme.

auth0-sso-dashboard-extension's People

Contributors

arielger avatar bazarov1988 avatar crigot avatar dependabot[bot] avatar esarafianou avatar fadymak avatar francocorreasosa avatar fyockm avatar jsdelivrbot avatar kusold avatar lzychowski avatar pushpabrol avatar sandrinodimattia avatar santiagoaguiar avatar shawnmclean avatar ziluvatar avatar zxan1285 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

auth0-sso-dashboard-extension's Issues

How are users granted permission to each app?

Sorry if this isn't the right spot to ask; Feel free to point me in the right direction.

I've been reading the docs, and I've been unable to find how a user is given access to a specific application. If each application has their own connection, how are users connected between the applications?

Allow custom URLs for clients

On the client level we should add a new checkbox "Allow custom URLs". If this checkbox is enabled, a new field will show up, "Custom URL". In this field a customer will enter a custom URL where we should redirect to, eg:

https://github.com/auth0
https://myapp.com/sso?connection={connection}

If this option is enabled we should simply redirect to this url instead of generating the default /authorize url. The url should support variables, where we might need to replace:

  • connection
  • client_id
  • domain
  • callback

Issues setting up a new SSO Dashboard

Hi, I followed the instructions here to set up a new SSO Dashboard, but it hasn't worked for me.

  1. The URL in the docs (below) sees to be different to what the Extensions page is pointed at
    image

If I go to the Installed Extensions page in my Auth0 portal, the SSO Dashboard extension points to this URL instead: https://dev-theburningmonk-ec.us.webtask.run/auth0-sso-dashboard/admins/login

and I assume the user login page would be at:
https://dev-theburningmonk-ec.us.webtask.run/auth0-sso-dashboard/login

  1. If I visit the user login page I see this:
    image
    even though I had followed the instructions and added both user and admin URLs to the allowed callback URLs:
    image

  2. If I visit the admin login page then the Auth0 login page pops up, but when I enter my username and password to sign in I get a validation error
    image

So, so far I've only managed to access the SSO dashboard from the Extensions page by clicking on the SSO Dashboard extension from the Installed Extensions page.
image

It feels like maybe I might have misconfigured something along the way, but I've followed the instructions step-by-step twice and have got the same result, so maybe the docs are out of date?

Any help would be much appreciated!

l18n of dashboard ?

Hi,
great extension to Auth0 - I managed to create a dashboard for my client of apps that require auth0 login.
Is it possible to localize into other languages, so instead of english I could have polish - at least for end-users ?

Update

npm install -> old dependencies
npm run serve:dev -> not found

Any chance to see this fixed?

Ordering of applications

By default applications should be ordered by name, but in addition to that, we should support:

  • Order as a setting on the application
  • Allow end users to order applications for themselves (and store the order in webtask storage or app_metadata)
  • Allow end users to "pin" applications on top if there are too many apps

How can I enable auth'z integration?

I tried sso dashboard extension and try to configure role base access controling using authorization extension.

I found this PR, so I understand disabled authz integration by default. But, I could not find to how to enable integrated with auth'z extension.

How can I enable authz extension integration? or where is the document?

Extension should allow adding links to apps such as google suite apps ( gmail, docs, sheets)

I want to add links for G Suite Apps to the SSO Dashboard. These are not individually setup within Auth0 as Auth0 is setup as the IDP for Google Apps.

I want to add the link for gmail into the SSO Dashboard and then the Service provider login initiates the SSO with the IDP( Auth0) because Auth0 is setup as an IDP for google apps.

Currently I can not do this as I have to define everything related to Auth0 client when defining an application within SSO dashboard. Also G Suite does not support IDP Initiated SSO as it requires a RelayState being passed from the SP to the IDP.

Connection parameter breaks SAML login

When the connection parameter is specified in the New Application form, it incorrectly gets encoded as & to login url instead of ? which fails the SAML login

Broken URL: https://{domain}.auth0.com/samlp/HbOLz0nYYKCwR0sjBf2MoUo2w5jaAGnI&connection=db

Working URL: https://internalserver.auth0.com/samlp/HbOLz0nYYKCwR0sjBf2MoUo2w5jaAGnI?connection=db

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.