Request access from an End User

Create a one-time link for an End User's Cloudflare or GitHub account, email or send it, then confirm who approved.

Send an End User a one-time link, then confirm the account that approves it.

Before you start

  • You hold sites:write, as an Owner, Admin or Developer does. See Roles and permissions.
  • The End User owns the Cloudflare or GitHub account that will host the site. They never sign in to Fleet. They approve on the provider's own screen.
  • Each connection has its own link. Ask for Cloudflare, GitHub or both. See End User grants.
  • A link works once. Anyone who holds a link can use it, so send it only to the End User.
  • A Cloudflare administrator must approve, and the account must allow public OAuth apps. A GitHub organization needs an owner to install.

Steps

  1. In the create or link wizard, select Ask the account's owner as the source of the Cloudflare account, the GitHub account or both.
  2. For an existing repository, enter owner/name. In the create wizard, the End User first creates that repository in GitHub with only a README: Add a README file ticked, .gitignore and the license set to None, and no template. Fleet fills only a repository whose default branch holds that one file.
  3. Choose how long each link stays valid: 24 hours, 72 hours (the default) or 7 days.
  4. To have Fleet email the link, enter the End User's address in Email the link to (optional). Leave it empty to send the link yourself.
  5. Select Create in the create wizard or Link site in the link wizard. Fleet makes one link per account, and the site shows Awaiting permissions.
  6. If you left the address empty, select Copy link and send the link to the End User yourself. You can also copy an emailed link and send it another way.
  7. Wait for the email and dashboard notification that the End User approved. The connection reads Awaiting confirmation.
  8. On the site page, compare the account name and identifier with what the End User tells you.
  9. For Cloudflare, ask which Workers plan the account uses. Select or clear This account is on Workers Paid to match.
  10. Select Confirm account. Fleet continues once every grant is confirmed.

Fleet shows each link once:

Copy and send this link to the account owner. It is not shown again, works once and expires on <date>.

When Fleet emailed the link, the site page shows the address and when it was sent until the link ends. Select Resend email to send it again, or Create link without email to send a new link yourself. Fleet limits how many requests it emails for one site, one address and one account, and the message names the time to try again. If an End User marks a request as unexpected, Fleet does not email that address from your account again for 30 days.

The End User opens the link and sees your account label, the site and one warning. For Cloudflare:

Fleet for EmDash cannot confirm who sent this link. If you continue, a Worker that runs this site's code is created in your Cloudflare account. You can delete it at any time. Continue only if you know the person who sent it and asked for this.

For GitHub:

Fleet for EmDash cannot confirm who sent this link. If you continue, Fleet can read and commit to the one repository you select and start its builds. It reaches no other repository. You can remove its access in your GitHub settings at any time. Continue only if you know the person who sent it and asked for this.

Before the End User goes to the provider:

You have 10 minutes to finish on <Provider>. If it takes longer, open this link again.

After the End User approves:

Access granted. <account label> can now set up <site>. You can close this page. To remove access: <provider page>.

Result

The connection is active and bound to this one site. Fleet never reuses it for another site.

If the account is not the End User's, select Reject. Fleet revokes the credential at the provider and offers a new link. Only the member who sent the link can confirm or reject.

Select Cancel to withdraw a waiting link. Fleet tells you when a link is declined or expires. The End User can remove access later without asking you. See Revoke access later.

If something goes wrong

The End User opened the link but did not approve:

The person you sent this link to opened it but has not granted access yet.

The End User cannot find their Cloudflare account in Cloudflare's list. Their administrator blocked public OAuth apps. The link stays open, and the End User sees:

If your account is missing from Cloudflare's list, an administrator has blocked public OAuth apps. Ask them to allow Fleet for EmDash under Manage Account > Members > Settings > Public OAuth App access, then open this link again.

For GitHub, the End User sees:

Install on the account that will own the site. In an organization, only an owner can install. If you are a member, forward this link to an owner.

No End User approved every link in time. Fleet creates nothing and keeps the site in Awaiting permissions:

Not every link was used within 7 days, so Fleet created nothing. On the site page, select Create link or New link, then send it again.

Support paused grant links:

Fleet support paused grant links. Try again later.

The site no longer waits for that permission:

This site is not waiting for this permission. Open the site to see its next step.

You lost a link. Select New link on the site page. It cancels the earlier link, so send the newest.

The End User sees that the link is not valid. It expired, was canceled, was already used or was marked as unexpected. Send a new link. They see Approve or decline a request.

Related

Report a problem with this page