Commit Graph

38 Commits

Author SHA1 Message Date
Patrik Oldsberg b920a47976 fix multi-line links
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-05-10 10:16:00 +02:00
Andre Wanlin 7a4f604177 Added comment about only picking one resolver
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-04-30 11:13:42 -05:00
Andre Wanlin 8383e2ca7d Added dedicated resolvers section
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-04-30 07:46:18 -05:00
Andre Wanlin a874dd1524 Added SingIn Resolvers Config Details
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-04-30 07:46:18 -05:00
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 6f5388b4f6 docs,config: fix proxy provider config wonk
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-03-01 10:46:30 +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
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
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
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
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
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
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
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
Alex Crome 76453d497e Fixed sidebar issues
Updated easy auth document preamble to better match other auth providers.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-04-04 20:31:45 +01:00
Paul Schultz 040b54f7e5 clean up formatting
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2023-03-08 10:13:38 -06:00
Paul Schultz 9c95f91c0a Add titles to codeblocks and switch from diff codeblock to language codeblock
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2023-03-01 13:30:38 -06:00
Alex Crome b84349e2f6 PR Feedback
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-02-14 14:50:37 +00:00
Alex Crome f79df8ab24 Initial easyauth work
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-02-01 12:02:24 +00:00
Patrik Oldsberg 8d987cc809 docs: no space
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-07 15:38:18 +01:00
Jamie Klassen 1baf5d5e7f complete azure outbound access
Adds the other host that must be reachable and puts all this advice in its own
section.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2022-10-26 15:37:47 -04:00
Jamie Klassen 2f6f81acbd mention connectivity to graph.microsoft.com
Recently I was helping somebody with a Backstage installation who was hitting
this error, and it turned out they needed a firewall rule to allow this
connectivity.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2022-10-22 01:17:35 -04:00
Arve Systad 6b7b4b3fa2 Correct keyword for microsoftAuthApiRef
Makes for a little less guesswork in the middle of things.
2021-12-16 10:33:10 +01:00
Otto Sichert b23bc7f9c3 Change default port of backend to 7007 due to MacOS Control Center update
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00
Fredrik Adelöw 12e074a6e4 get rid of some core-api mentions too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-23 15:16:41 +02:00
Steve Huff 45819d2664 fix(docs): typo tenentId in Azure auth provider doc
Signed-off-by: Steve Huff <shuff@vecna.org>
2021-08-27 17:07:49 -04:00
Tim Hansen e3190971e7 Update auth index to be more "getting started" focused
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-06 12:01:19 -06:00
Tim Hansen f5f61e659e Backticks
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-26 20:58:20 -06:00
Tim Hansen f07848c770 Add documentation for included auth providers
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-26 20:58:20 -06:00