Skip to content

Commit

Permalink
Merge pull request #20660 from backstage/patch-release-pr-20659
Browse files Browse the repository at this point in the history
Patch release of #20659
  • Loading branch information
Rugvip committed Oct 18, 2023
2 parents f1dc76b + 8f39cae commit d826f51
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -52,7 +52,7 @@
"jest-haste-map@^29.4.3": "patch:jest-haste-map@npm%3A29.4.3#./.yarn/patches/jest-haste-map-npm-29.4.3-19b03fcef3.patch",
"mock-fs@^5.2.0": "patch:mock-fs@npm%3A5.2.0#./.yarn/patches/mock-fs-npm-5.2.0-5103a7b507.patch"
},
"version": "1.19.0",
"version": "1.19.1",
"dependencies": {
"@backstage/errors": "workspace:^",
"@manypkg/get-packages": "^1.1.3"
Expand Down
6 changes: 6 additions & 0 deletions plugins/auth-backend-module-microsoft-provider/CHANGELOG.md
@@ -1,5 +1,11 @@
# @backstage/plugin-auth-backend-module-microsoft-provider

## 0.1.1

### Patch Changes

- 8b68706f03b8: Removed `prompt=consent` from start method to fix #20641

## 0.1.0

### Minor Changes
Expand Down
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-auth-backend-module-microsoft-provider",
"description": "The microsoft-provider backend module for the auth plugin.",
"version": "0.1.0",
"version": "0.1.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
Expand Down
Expand Up @@ -60,7 +60,6 @@ export const microsoftAuthenticator = createOAuthAuthenticator({
async start(input, helper) {
return helper.start(input, {
accessType: 'offline',
prompt: 'consent',
});
},

Expand Down
Expand Up @@ -65,7 +65,6 @@ describe('authModuleMicrosoftProvider', () => {
expect(startUrl.origin).toBe('https://login.microsoftonline.com');
expect(startUrl.pathname).toBe('/my-tenant-id/oauth2/v2.0/authorize');
expect(Object.fromEntries(startUrl.searchParams)).toEqual({
prompt: 'consent',
response_type: 'code',
scope: 'user.read',
client_id: 'my-client-id',
Expand Down

0 comments on commit d826f51

Please sign in to comment.