docs: Add docs explaining sign-in resolvers and profile transform

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-05-06 21:34:21 +02:00
committed by Fredrik Adelöw
parent 7303b65200
commit a0949d5892
4 changed files with 164 additions and 1 deletions
@@ -205,7 +205,7 @@ export type GoogleProviderOptions = {
* Maps an auth result to a Backstage identity for the user.
*
* Set to `'email'` to use the default email-based sign in resolver, which will search
* for the catalog for a single user entity that has a matching `google.com/email` annotation.
* the catalog for a single user entity that has a matching `google.com/email` annotation.
*/
resolver?: 'email' | SignInResolver<OAuthResult>;
};