Skip to content

Nodebalancer access by Bearer access token#787

Merged
kompotkot merged 11 commits intomainfrom
nb-auth-token-access
May 31, 2023
Merged

Nodebalancer access by Bearer access token#787
kompotkot merged 11 commits intomainfrom
nb-auth-token-access

Conversation

@kompotkot
Copy link
Copy Markdown
Contributor

@kompotkot kompotkot commented May 22, 2023

Changes

If access token specified in headers it will use user's existing access id or will generate new one.

See details under section Stage 3 in doc: https://docs.google.com/document/d/15X-ysIt3JwZVaopSSRXsRLFAbB-CtpWuOf2PAs_D_9s/edit#

Required migration run to transfer resources to other application:

python migrations/migrations.py run --key 20230522 \
    --token-current-owner "$NB_CONTROLLER_TOKEN" \
    --token-new-owner "$MOONSTREAM_ADMIN_OR_OTHER_CONTROLLER" \
    --new-application-id "$MOONSTREAM_APPLICATION_ID"

How to test these changes?

Tested locally

Related issues

@kompotkot
Copy link
Copy Markdown
Contributor Author

kompotkot commented May 22, 2023

@bugout-dev check

Copy link
Copy Markdown
Contributor

@Andrei-Dolgolev Andrei-Dolgolev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks correct

@kompotkot kompotkot merged commit 541779c into main May 31, 2023
@kompotkot kompotkot deleted the nb-auth-token-access branch May 31, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants