adds docs, fixes plugin

Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
This commit is contained in:
Daniel Deloff
2021-10-12 11:30:02 -04:00
parent 202f322927
commit 044a4511eb
3 changed files with 67 additions and 4 deletions
@@ -47,7 +47,7 @@ import { CatalogIdentityClient } from '../../lib/catalog';
import { Logger } from 'winston';
export type AtlassianAuthProviderOptions = OAuthProviderOptions & {
scopes: string[];
scopes: string;
signInResolver?: SignInResolver<OAuthResult>;
authHandler: AuthHandler<OAuthResult>;
tokenIssuer: TokenIssuer;
@@ -253,7 +253,7 @@ export const createAtlassianProvider = (
const provider = new AtlassianAuthProvider({
clientId,
clientSecret,
scopes: [scopes],
scopes,
callbackUrl,
authHandler,
signInResolver,