Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add admin self-serve UI #81

Merged
merged 11 commits into from
Jul 29, 2024
Merged

Add admin self-serve UI #81

merged 11 commits into from
Jul 29, 2024

Conversation

ucarion
Copy link
Contributor

@ucarion ucarion commented Jul 29, 2024

This PR adds a hosted UI that IT admins can use to set up SAML connections in a self-serve manner. The SSOReady-managed production instance of this service lives at admin.ssoready.com.

This PR adds:

  • An admin_access_tokens table, representing a new kind of auth token. You can exchange an admin access token's one-time-token for an admin session token. These sessions are scoped to a single organization, and grant the authorization to CRUD the SAML connections within that organization.
  • An API for app users to create admin access tokens, and CRUD endpoints for SAML connections that work with admin sessions. I opt not to try to get cute here and try to re-use the existing endpoints; we might deduplicate that logic in a later PR if it turns out the similarities here stay in place over time.
  • A new single-page application, admin, at the root level of this project. It talks to api, but only in practice uses the endpoints for admin one-time-tokens and SAML connection CRUDing.
  • A new card in app's ViewOrganizationPage to create a one-time admin URL.

Here's what it looks like:

Screenshot 2024-07-29 at 9 53 00 AM Screenshot 2024-07-29 at 9 53 05 AM Screenshot 2024-07-29 at 9 53 10 AM Screenshot 2024-07-29 at 9 53 14 AM

Copy link

netlify bot commented Jul 29, 2024

Deploy Preview for ssoready ready!

Name Link
🔨 Latest commit 3e14c3e
🔍 Latest deploy log https://app.netlify.com/sites/ssoready/deploys/66a7c93d6d78c30007fe330b
😎 Deploy Preview https://deploy-preview-81--ssoready.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jul 29, 2024

Deploy Preview for ssoready-admin ready!

Name Link
🔨 Latest commit 3e14c3e
🔍 Latest deploy log https://app.netlify.com/sites/ssoready-admin/deploys/66a7c93daf5eb000081945a6
😎 Deploy Preview https://deploy-preview-81--ssoready-admin.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ucarion ucarion merged commit e4ff18d into main Jul 29, 2024
11 checks passed
@ucarion ucarion deleted the ucarion/admin-bis branch July 29, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants