uibee 2.2.6 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ export default async function AuthToken({ req, frontendURL, redirectPath }) {
12
12
  const accessToken = url.searchParams.get('access_token');
13
13
  const userID = url.searchParams.get('id');
14
14
  const username = url.searchParams.get('name');
15
- const userNickname = url.searchParams.get('nickname');
15
+ const userNickname = url.searchParams.get('username');
16
16
  const userEmail = url.searchParams.get('email');
17
17
  const userGroups = url.searchParams.get('groups');
18
18
  const response = NextResponse.redirect(new URL(redirectPath || '/', frontendURL));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "Shared components, functions and hooks for reuse across Login projects",
5
5
  "homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
6
6
  "bugs": {
@@ -16,7 +16,7 @@ export default async function AuthToken({ req, frontendURL, redirectPath }: Auth
16
16
  const accessToken = url.searchParams.get('access_token')!
17
17
  const userID = url.searchParams.get('id')!
18
18
  const username = url.searchParams.get('name')!
19
- const userNickname = url.searchParams.get('nickname')!
19
+ const userNickname = url.searchParams.get('username')!
20
20
  const userEmail = url.searchParams.get('email')!
21
21
  const userGroups = url.searchParams.get('groups')!
22
22