FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Shares 0
    • Posts 14
    • Groups 0
    M Offline
    1. Home
    2. muravyov.alexey
    3. Topics

    Topics

    • M

      Status Code 400 when try to login by Twitch OIDC

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      3
      1
      0 Votes
      3 Posts
      5k Views
      joshuaJ
      @muravyov-alexey Glad you figured this out. This might be in the domain of Twitch as they are the ones returning that error code to FusionAuth. On paid editions, we do have a guide that you can follow for the Twitch provider (sounds as though you may be aware) https://fusionauth.io/docs/v1/tech/identity-providers/twitch/#undefined Thanks, Josh
    • M

      patchUser respond 404 from webhook on user.registration.create event

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      7
      0 Votes
      7 Posts
      12k Views
      M
      @joshua FA version 1.31.0 typescript-client-1.32.1
    • M

      How to get populated user.data after user registraion.

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback populate jwt lambda webhook registration
      7
      0 Votes
      7 Posts
      15k Views
      danD
      @muravyov-alexey Thank you!
    • M

      error 401 depends on API Key settings

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback api authorization settings
      3
      0 Votes
      3 Posts
      9k Views
      M
      I tried with all HTTP methods enabled for /api/user only, and it update user successfully. But if I tried only with GET and PATCH methods enabled for /api/user , I get 'statusCode=401'. Here is code import { FusionAuthClient, UserRequest } from '@fusionauth/typescript-client' ... export class FusionAuthService { private fusionAuthClient: FusionAuthClient; constructor(private context: Context) { this.fusionAuthClient = new FusionAuthClient(context.config.fusionAuth.apiKey, context.config.fusionAuth.apiUrl); } ... public async updateUser(userId: string, userRequest: UserRequest ) { return this.fusionAuthClient.updateUser(userId, userRequest) .then(clientResponse => { logger.info("User:", JSON.stringify(clientResponse.response.user, null, 2)); }).catch(logger.error); } here is invocation of updateUser method that happens on 'user.registration.create' event if (user) { const patchBody = { user: { email: event.user.email, data: { userId: user.id } }, } await this.fusionAuthService.updateUser(event.user.id, patchBody); } Now I understand that I use updateUser method and I don't know what kind of HTTP request it used. I have found patchUser and with it get success. Thanks for your help.
    • M

      Events not comings to webhook

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      5
      0 Votes
      5 Posts
      5k Views
      joshuaJ
      @muravyov-alexey Not sure what it is need for, but if it is correct then better put some hint about this in GUI near the option. Good suggestion! I have logged an issue for consideration. https://github.com/FusionAuth/fusionauth-issues/issues/1542 Hmm. In my view, this makes sense. Here are two cases to consider jwt.refresh-token.revoke - maybe there are some application-level events that need to take place based on this event. In the right context, this might be functionally equivalent to "logging someone out." If someone was logged out (forcibly) from your application, then you might want to take action based on that (remove them from a list, or make another programmatic check, etc). user.action - maybe this user was actioned for any number of application-specific reasons that you might want to respond to. Everything else is scoped to a tenant, from my understanding. I hope this helps. Thanks for the feedback. Thanks, Josh