Commit Graph

251 Commits

Author SHA1 Message Date
MT Lewis 01dfe4770a docs: add note about transitive group membership to identity resolver docs
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2023-11-28 15:15:16 +00:00
Patrik Oldsberg 31bffaa7ee Merge pull request #20892 from devonpaluso/patch-1
Update Custom Auth Provider Documentation to Work Properly
2023-11-14 13:05:05 +01:00
Patrik Oldsberg 812700e590 Merge pull request #20580 from ataylorme/feat/okta-auth-scope-option
Allow user-defined scopes for Okta auth in config yaml
2023-11-14 11:45:20 +01:00
Ben Lambert 571d0e9895 Merge pull request #20666 from afscrome/aadadminconsent
Microsoft authentication doc clarifications
2023-10-30 16:58:07 +01:00
devonpaluso 77cc04d5fd Update Documentation to Work Properly
The provider.id is used as the backend auth endpoint, which is added in this same guide. The default provider id is `github`, which will point to the wrong auth endpoint. Without modifying the core package code, this guide will not work without this additional configuration line.

Signed-off-by: devonpaluso <55293990+devonpaluso@users.noreply.github.com>
2023-10-29 10:19:46 -04:00
Alex Crome 11153a019d Merge remote-tracking branch 'upstream/master' into entra-rename 2023-10-28 10:39:42 +01:00
Alex Crome 879f4f3250 Merge branch 'master' into aadadminconsent
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-26 21:53:25 +01:00
Fredrik Adelöw b42109f05a Merge pull request #20694 from afscrome/entra-domain-hint
Add `domain_hint` support to Entra ID login
2023-10-26 17:07:24 +02:00
ataylorme 8466307819 Use additionalScopes for Okta auth instead of overriding scope entirely
Signed-off-by: ataylorme <andrew@ataylor.me>
2023-10-26 05:36:02 -07:00
Alex Crome 243c655a68 Updated Azure Active Directory to Entra ID
Microsoft have renamed Azure Active Directory to Entra ID.  https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/new-name .  This PR updates references to AAD to refer to Entra ID.

* On each documentation page, I include `formerly Azure Active Directory` in the first non heading reference to Entra ID.  This will help anyone unfaimiliar withthe  name change, and will also mean the page continues to show up in search results if people search for the old name.
* I didn't correct references in file names, as this would cause broken links.  If we have a way of redirecting those to new urls I can look at doign that, but if not, I think it's better to leave existing links working.
* There were a few references to AAD in release notes for older versions - I left these alone as the product naming was correct at the time of the release notes.
* LDAP provider still has references to "Active Directory" as these reference to the on premise Active Directory, not Azure Active Directory

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-19 23:11:35 +01:00
Alex Crome 3979524c74 Add domain_hint support to Entra ID login
When a user is logged in to multiple microsoft accounts, there can be be a little bit of friction in the Entra login process as users will be asked to select the account to login with.

Scenarios in which a user may have multiple microsoft accounts

1. Someone logged in to your work Entra ID account, and a personal microsoft account
2. A consultant who has an Entra ID account at both their employer, as well as the company they're contracted out to.
3. A user has a regular account, as well as one or more high priviliged accounts.

When a domain hint is provided, Entra will filter out all the accounts which don't belong to the tenant specified on the `domain_hint`.
In many cases, this will filter to a single account, avoiding the need to select an account at all (e.g. scenario 1 & 2).
This won't always happen (e.g. scenario 3).
Additionally in the case a tenant has been configured to federate authentication elsewhere (e.g. to an on premise AD FS), setting the domain hint means entra can send the user straight to the federated authentication soruce, removing further steps

If backstage is allowign authentication from multiple tenants, this field should be left blank.

For more details, see https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/home-realm-discovery-policy

99% of the time, this value should be the same as the tenantId, so we could get rid of hte domain hint, and set it to the same value as the tenant id automatically.
We'd need to provide a config option (e.g. `isMultiTenant: true`) to opt out of this.
For those edge cases, this would be a breaking change.

I decided to go with specifying the `domain_hint` seperatly for now just in case my assumptions are wrong and there are more cases wher ehte `domain_hint` will get in the way.
We can always make this the default behaviour later on.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-19 23:01:14 +01:00
Alex Crome 513a6db0c9 Update docs/auth/microsoft/provider.md
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-19 09:53:24 +01:00
Alex Crome 76bad23a8c Microsoft authentication doc clafications
* Add API Permissions to the app registration setup
* Encouraged re-use of an existing app registration over creating a new one.
* Moved the `Adding the provider to the Backstage front end` higher up so it's not so easily missed

Updated the microsoft authentication document to include details on adding API Permissions.
At more relaxed companies, these permissiosn will be silently added to this list the first time they're requested, however in more locked down companies, a directory admin will need to consent to these permissions before users can use them.

Also slighlty reworked the docs to encourate re-using any existing app registration.  This includes renaming the `AUTH_MICROSOFT_*` variables to match the `AZURE_*` ones used throughout other azure integrations.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-18 23:14:26 +01:00
rtriesscheijn 4bbde87a2e fix: pass full config to StaticTokenIssuer, documentation and test tweaks
Signed-off-by: rtriesscheijn <rtriesscheijn@bol.com>
2023-10-17 09:08:42 +02:00
rtriesscheijn bdf08ad04a feat: add static token issuer
Signed-off-by: rtriesscheijn <rtriesscheijn@bol.com>
2023-10-16 10:48:48 +02:00
ataylorme d28efe24ff Type correction
Signed-off-by: ataylorme <andrew@ataylor.me>
2023-10-13 11:43:39 -07:00
ataylorme d08e82d8b4 Add Okta scope to Okta Authentication Provider docs page
Signed-off-by: ataylorme <andrew@ataylor.me>
2023-10-13 11:43:39 -07:00
Patrik Oldsberg 388c62b03a Merge pull request #19891 from awanlin/topic/improve-redirect-flow-docs
Improved docs about enableExperimentalRedirectFlow
2023-09-26 15:12:47 +02:00
Manuel Scurti 21e8ef916b Update docs/auth/autologout.md
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Manuel Scurti <manuel9scurti@gmail.com>
2023-09-18 18:18:21 +02:00
Manuel Scurti d3946292b5 Update docs/auth/autologout.md
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Manuel Scurti <manuel9scurti@gmail.com>
2023-09-18 18:18:21 +02:00
Manuel Scurti 214d02fa8d fixed api report and docs
Signed-off-by: Manuel Scurti <manuel.scurti@agilelab.it>
2023-09-18 18:18:21 +02:00
Manuel Scurti 1bfb54bbaa removed ConfigBasedAutoLogoutProvider
Signed-off-by: Manuel Scurti <manuel.scurti@agilelab.it>
2023-09-18 18:18:21 +02:00
Manuel Scurti 8a453e15bb autologout docs fixes
Signed-off-by: Manuel Scurti <manuel.scurti@agilelab.it>
2023-09-18 18:18:21 +02:00
Manuel Scurti c00749f921 fix docs spelling issues
Signed-off-by: Manuel Scurti <manuel.scurti@agilelab.it>
2023-09-18 18:18:21 +02:00
Manuel Scurti 9b74166d11 added AutoLogoutProvider
Signed-off-by: Manuel Scurti <manuel.scurti@agilelab.it>
2023-09-18 18:18:19 +02:00
Patrik Oldsberg 518a34646b Merge pull request #19365 from VladMasarik/add-auth-docs
Docs: Add warning about backend APIs not having auth by default
2023-09-12 12:34:51 +02:00
Andre Wanlin b74b744b5a Improved docs about enableExperimentalRedirectFlow
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-09-11 15:04:25 -05:00
Vladimir Masarik 2dc9cec3aa Fix missing file extention
Signed-off-by: Vladimir Masarik <masarik.vladimir7@gmail.com>
2023-09-06 11:09:40 +02:00
Vladimir Masarik 675c3766c6 Fix typo
Signed-off-by: Vladimir Masarik <masarik.vladimir7@gmail.com>
2023-09-04 18:18:02 +02:00
Vladimir Masarik 4c55c3b7c8 Update the text
Signed-off-by: Vladimir Masarik <masarik.vladimir7@gmail.com>
2023-09-04 18:15:10 +02:00
Vladimir Masarik c2988744e8 Add warning about backend APIs not having auth by default
Signed-off-by: Vladimir Masarik <masarik.vladimir7@gmail.com>
2023-08-14 17:31:54 +02:00
Waldir Montoya f626d1d85e tweak session secret description given feedback
Signed-off-by: Waldir Montoya <wmontoya@vmware.com>
2023-08-03 14:32:43 -05:00
Waldir Montoya fc13158927 Update docs/auth/auth0/provider.md
Co-authored-by: Jamie Klassen <jklassen@vmware.com>
Signed-off-by: Waldir Montoya <35240971+waldirmontoya25@users.noreply.github.com>
2023-08-03 14:28:44 -05:00
Waldir Montoya 8691920ba5 Describe what is a session secret
Signed-off-by: Waldir Montoya <wmontoya@vmware.com>
2023-08-03 14:28:44 -05:00
Robbert van Markus d9b78b2434 add link to full example without a matching user
Signed-off-by: Robbert van Markus <rvanmarkus@qxperts.io>
2023-07-31 20:48:54 +02:00
Robbert van Markus 38e787a0e8 fixed oauth2proxy configuration example
Signed-off-by: Robbert van Markus <rvanmarkus@qxperts.io>
2023-07-31 20:04:23 +02:00
Ben Lambert 6baf33b1a6 Merge pull request #18634 from antweiss/patch-3
Fixed some English in the docs
2023-07-19 13:21:27 +02:00
rui ma a77ddf7ccd feat: add login in popup options to config popup width and weigth
Signed-off-by: rui ma <ruima@alauda.io>
2023-07-12 18:14:04 +08:00
Ant Weiss d68eb05092 Fixed some English in the auth docs
Signed-off-by: Ant Weiss <anton@stagecentral.io>
2023-07-12 11:25:57 +03:00
blam fe7de493f8 style: run yarn prettier
Signed-off-by: blam <ben@blam.sh>
2023-07-10 16:20:55 +02:00
emyi146 4e9294acd3 Add missing { to azure-easyauth.md
Signed-off-by: emyi146 <emyi146@hotmail.com>
2023-07-07 16:01:36 +02:00
Karthik Prabhu K 9fdae5ef33 Updated documentation
Signed-off-by: Karthik Prabhu K <karthik.prabhu.k@dell.com>
2023-07-03 23:12:54 +05:30
Karthik Prabhu K c27ae5004f Support for configuring the desired Client Authentication Method for the token endpoint for the OIDC Provider
Signed-off-by: Karthik Prabhu K <karthik.prabhu.k@dell.com>
2023-06-29 22:00:57 +05:30
Patrik Oldsberg 65b8af189e Merge pull request #18323 from afscrome/easyauthdocs
Improve Easy Auth Docs
2023-06-17 15:53:21 +02:00
Alex Crome ac9c83d9dc Fix logic in easy auth docs
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-06-17 09:52:40 +01:00
Philipp Hugenroth 788145307a Align Auth Provider Sidebar in docs with available Providers
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-06-13 14:39:20 +02:00
Alex Crome 0d32059381 Tweak environment detection recommendation
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-05-14 12:33:33 +01:00
Alex Crome 627fe70396 Improved Easy Auth Docs
Incorperated feedback from issues around setting up easy auth
* Added missing configuration
* Added a note around configuring the sign in page locally

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-05-04 23:17:39 +01:00
Daniel Schaaff 860fc26086 Add missing scopes to GitLab auth provider docs
closes #17189

The auth docs are missing some scopes required by the GitLab provider.
Without these scopes the RepoUrlPicker in software templates is unable
to retrieve oauth tokens for the user.

Signed-off-by: Daniel Schaaff <daniel@danielschaaff.com>
2023-05-04 15:47:27 +02:00
Brian Phillips ffeb1c3784 Add more context for how to make a custom SCM Auth provider work
Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
2023-05-01 23:39:10 -05:00