Commit Graph

284 Commits

Author SHA1 Message Date
YAEGASHI Takeshi 5796275fc5 Update the azure-easyauth provider docs for the new backend system
Signed-off-by: YAEGASHI Takeshi <yaegashi@gmail.com>
2024-04-16 11:55:37 +02:00
Patrik Oldsberg ae33ddccf7 Merge pull request #23997 from backstage/freben/cfaccess
auth-backend: extract the cloudflare access auth provider
2024-04-16 11:51:39 +02:00
Fredrik Adelöw 92fd3d4d3e fix wrong references to the backend to backend auth
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-04-16 11:25:57 +02:00
Fredrik Adelöw 71b049ef3c review fixes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-04-15 15:58:22 +02:00
Fredrik Adelöw 00fca28b41 implement external token access
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-04-15 15:37:12 +02:00
Fredrik Adelöw a2545cabbd add docs
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-04-14 12:18:35 +02:00
Fredrik Adelöw 339d5b71bb Merge pull request #24154 from backstage/freben/sign-in
update the sign-in resolver docs for the new backend system
2024-04-13 23:34:38 +02:00
Fredrik Adelöw 7fb5021aee feedback
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-04-13 18:00:02 +02:00
Fredrik Adelöw 42770dab28 address review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-04-13 10:11:39 +02:00
Fredrik Adelöw cfefd94354 update the sign-in resolver docs for the new backend system
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-04-10 14:29:13 +02:00
Spencer Post 9a0859a0d3 update documentation
Signed-off-by: Spencer Post <spencer.post@guildeducation.com>
2024-03-29 13:51:03 -06:00
CiscoRob 6875084cd1 Update oidc.md to account for deprecation requiring configApi
Providing update to ensure that deprecation is handled by anyone doing copy-pasta of the custom OIDC provider.

Signed-off-by: CiscoRob <133238823+CiscoRob@users.noreply.github.com>
2024-03-08 13:07:53 -06:00
Fredrik Adelöw 72dd380d14 ensure that the guest auth config schema is present
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-03-01 10:57:05 +01:00
Patrik Oldsberg 6f5388b4f6 docs,config: fix proxy provider config wonk
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-03-01 10:46:30 +01:00
Patrik Oldsberg 1115b698bc Merge pull request #22565 from sennyeya/guest-tokens
feat(auth): Add support for guest tokens with a new provider
2024-02-27 12:25:03 +01:00
aramissennyeydd 46138c2bd7 update to auth.provider.guest.* login
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-26 15:21:35 -05:00
aramissennyeydd d622690f8c code review updates
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-26 10:27:00 -05:00
Aramis 9fc765af20 update with a guide
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-26 10:27:00 -05:00
Tyler Davis d26553df9d update docs
Signed-off-by: Tyler Davis <tylerd@canva.com>
2024-02-22 17:30:55 +11:00
Tyler Davis 0d1ad9faf9 PR feedback: change structure of serviceTokens config
Signed-off-by: Tyler Davis <tylerd@canva.com>
2024-02-22 17:20:55 +11:00
Tyler Davis 7a1c12bb29 Update docs/auth/cloudflare/access.md
typo in docs

Signed-off-by: Tyler Davis <tylerd@canva.com>
2024-02-22 17:20:55 +11:00
Tyler Davis 3191d616e8 pr feedback: make service tokens configurable
Signed-off-by: Tyler Davis <tylerd@canva.com>
2024-02-22 17:20:55 +11:00
Patrik Oldsberg 96be2c0a6f Merge pull request #22392 from jamieklassen/vmware-cloud-auth-docs
document VMware Cloud auth provider
2024-02-06 13:27:21 +01:00
Jamie Klassen 9185966262 Remove utility API instructions
Since #22549 adds this API to the core framework, integrators don't need to
define their own.

Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-26 12:14:01 -05:00
Aramis 2e440d4723 docs: add a central glossary
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-01-25 23:42:14 -05:00
Jamie Klassen 7f29dc4e54 document VMware Cloud auth provider
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-19 12:04:11 -05:00
Daniel Doberenz 3637d507d4 Merge branch 'backstage:master' into Extend-microsoft-auth-provider 2024-01-17 14:59:00 +01:00
Daniel Doberenz 133858966b Specified allowed scopes in the documentation
Signed-off-by: Daniel Doberenz <daniel.doberenz@lichtblick.de>
2023-12-19 06:56:13 +01:00
Daniel Doberenz 8462a2e3d0 Use loadash instead of own implementation and fixed documentation.
Signed-off-by: Daniel Doberenz <daniel.doberenz@lichtblick.de>
2023-12-05 13:07:03 +01:00
Philip Clark bdd4aeb175 docs: update okta provider doc
Signed-off-by: Philip Clark <philip.alan.clark@gmail.com>
2023-12-01 15:13:54 -05:00
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
Daniel Doberenz 6ecec4282b Adapt new configuration key name to the documentation.
Signed-off-by: Daniel Doberenz <daniel.doberenz@lichtblick.de>
2023-11-16 10:39:09 +01:00
Daniel Doberenz abfaf8c502 Changed the configuration property to additionalScopes and added a tested helper function to combine lists of scopes.
Signed-off-by: Daniel Doberenz <daniel.doberenz@lichtblick.de>
2023-11-15 07:18:13 +01: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
Daniel Doberenz 1ff268479e Added the possibility to use custom scopes for performing login with Microsoft EntraID.
Signed-off-by: Daniel Doberenz <daniel.doberenz@lichtblick.de>
2023-11-14 09:45:55 +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