-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(user_roles): Add accept invitation API and UserJWTAuth
#3365
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets give this API the possibility to not send the signin payload as response payload. Maybe query params?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if need_dashboard_entry_response
needs to be in query param.
Type of Change
Description
This PR will add a new API for accepting invitation and also a new JWT auth type which has only
user_id
.Additional Changes
Motivation and Context
To support the Accept Invite flow in the following flow.
How did you test it?
If any of the
merchant_id
status isactive
, then you will be getting the following response.If
need_dashboard_entry_response
isfalse
or not sent, then the response will be 200 OK.Checklist
cargo +nightly fmt --all
cargo clippy