Skip to content

chore: add HTTPS req for PWA & update OIDC claims #929

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

Merged
merged 1 commit into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions admin/access-control/manage.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@ If you opt for **OpenID Connect**, you'll need to provide additional
configuration steps, which are detailed in the subsequent sections of this
article.

## Requirements
## Coder's OIDC claims

Coder expects the following [OIDC claims](https://developer.okta.com/blog/2017/07/25/oidc-primer-part-1#whats-a-claim)
from your OIDC provider:

- `email`
- `email` (required)

- `name` (full name/display name)

- `preferred_username` (username for dev URLs)

You may need to map these to your existing claims within your OIDC provider's
admin console.
admin console. If `name` and `preferred_username` are not provided, Coder will
derive both claims from the email address.

## Set up OIDC authentication

Expand Down
3 changes: 2 additions & 1 deletion workspaces/pwa.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ experience akin to a native application and improved performance.

## Requirements

To use Coder as a PWA, you must be using Google Chrome or Microsoft Edge.
To use Coder as a PWA, you must connect to Coder over HTTPS and use either
Google Chrome or Microsoft Edge.

## Installing the PWA

Expand Down