Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 22 23:21

    kataras on master

    more improvements to the x/clie… (compare)

  • Jan 22 22:47

    kataras on master

    improvements to the x/client pa… (compare)

  • Jan 08 17:54

    kataras on master

    new party controllers example (compare)

  • Jan 08 17:53

    kataras on master

    new party controllers example (compare)

  • Jan 06 16:49

    kataras on master

    minor (compare)

  • Jan 04 21:06

    kataras on master

    add http timeout example (compare)

  • Dec 31 2021 12:55

    kataras on master

    fix #1829 (compare)

  • Dec 30 2021 17:32

    kataras on master

    mysql example: security fix (compare)

  • Dec 25 2021 22:01

    kataras on master

    :christmas_tree: Merry Christma… (compare)

  • Dec 23 2021 20:05

    kataras on master

    security fix (compare)

  • Dec 23 2021 19:59

    kataras on master

    security fix (compare)

  • Dec 18 2021 01:16

    kataras on master

    Context.IsCanceled() minor impr… (compare)

  • Dec 16 2021 16:57

    kataras on master

    minor improvement on URLParamSl… (compare)

  • Dec 09 2021 12:44

    kataras on master

    new Timeout, TimeoutMessage con… (compare)

  • Dec 02 2021 14:30

    kataras on v12.2.0-alpha5

    (compare)

  • Dec 02 2021 14:25

    kataras on master

    minor (compare)

  • Nov 29 2021 10:54

    kataras on master

    handle null sql iso8601, kitche… (compare)

  • Nov 19 2021 12:13

    kataras on master

    add one more project structure … (compare)

  • Nov 15 2021 13:56

    kataras on master

    update deps (compare)

  • Nov 15 2021 13:29

    kataras on master

    minor improvements (compare)

Mubariz Ahmed
@mubariz-ahmed
@kataras waiting on the email for book, kindly check the contact email, I have attached relevant reference for payments. Thanks.
Vũ Hoàng Lâm
@lamvh_gitlab
@kataras i found an issue on your refresh token example
refreshToken := []byte(ctx.URLParam("refresh_token"))
    if len(refreshToken) == 0 {
        // You can read the whole body with ctx.GetBody/ReadBody too.
        var tokenPair jwt.TokenPair
        if err := ctx.ReadJSON(&tokenPair); err != nil {
            ctx.StopWithError(iris.StatusBadRequest, err)
            return
        }

        refreshToken = tokenPair.RefreshToken
    }

    // Verify the refresh token, which its subject MUST match the "currentUserID".
    _, err := verifier.VerifyToken(refreshToken, jwt.Expected{Subject: currentUserID})
    if err != nil {
        ctx.Application().Logger().Errorf("verify refresh token: %v", err)
        ctx.StatusCode(iris.StatusUnauthorized)
        return
    }
if refreshToken acquired by ctx.URLParam, it is a raw refresh token []byte
but if refreshToken acquired by ctx.ReadJSON, its wrapped by doublequotes and cant be use as a parameter for VerifyToken
Vũ Hoàng Lâm
@lamvh_gitlab
it's take me 2 hours to debug my production application XD
NewTokenPair method is not convenient as u think imo
John Kinyanjui
@JohnKinyanjui
Which library should i use for postgress
vuhoanglam
@vuhoanglam

Which library should i use for postgress

gorm

Mulyawan Sentosa
@mulyawansentosa
Hello, How ca I get Iris Book?
1 reply
zhouyb-cn
@zhouyb-cn
when request not existence route can cause cors problem use ajax, Has anyone met it, how to solve it
Ecco Zhou
@eccozhou
I use iris v12, and get ctx.SaveFormFile undefined error, can not use ctx.SaveFormFile anymore?
snowlyg
@snowlyg
@eccozhou 用的最新版?v12 的小版本号多少呢
Gourav Roy
@themechanicalcoder
Hi everyone I am new to iris. From where can I learn Iris?
1 reply
srm
@syrm

Hello,

Do you know why when I initialize my controller myself the argument in url is not taken
https://gist.github.com/syrm/ab91e433f37844d35dab809f153ca0eb

vuhoanglam
@vuhoanglam

Hello,

Do you know why when I initialize my controller myself the argument in url is not taken
https://gist.github.com/syrm/ab91e433f37844d35dab809f153ca0eb

Hello

its to late but maybe you still need
In controller struct, you define ImagePath string which is the same type with 'name' parameter that u expect to get. So dependency injector give you ImagePath instead of 'name'. U can read router define section in document
srm
@syrm
Well in fact its a bug in Iris, its fixed in master
Gerasimos (Makis) Maropoulos
@kataras
Hi @/all do you or somebody you know has good experience with Spotify APIs? A company that I know is looking for a "spotify expert". Please send me a direct message at https://twitter.com/MakisMaropoulos so you can get hired for a job. Thanks a lot, and sorry that I am not so active lately, I am trying to change that and come back with new features that I am designing for the past 4 months.
Quan Zhang
@cnzhangquan
i did NOT receive the PDF Book after donation
i need some help
the donation is more than 10 days ago
srm
@syrm
it can take time
wait few days more i think
Jorge R
@jorge-ramirezs
I’m in the same situation, has been a week
Quan Zhang
@cnzhangquan
may i know how to get the pdf book ?
srm
@syrm
you can get it here after make a donation https://www.iris-go.com/#ebookDonateForm
Quan Zhang
@cnzhangquan
i still not get the book after the donation on 26th Jul
srm
@syrm
he may be in vacation
Quan Zhang
@cnzhangquan
happy vacation ^_^
Lê Tuấn Anh
@captain-corgi
Hi there,
I'm new with iris.
Nice to meet you all
image.png
I have problem when walkthrough the tutorial.
https://www.iris-go.com/docs/#/
It seem that Content-Encoding in this example incorrect. It should be json
Rubinus Chu
@rubinus
autofix ?
[INFO] 2021/08/18 10:02 Updating...
[FTAL] 2021/08/18 10:02 autofix: replace import paths: open /Users/rubinus/app/origin/.git/objects/pack/pack-bad8b6faea93516424385848b0553ed8065111fe.idx: permission denied
exit status 1
Rubinus Chu
@rubinus
undefined: blocks.AssetFunc
Billy Will
@jwixel
Hello. I believe I've uncovered an issue with the jwt middleware, but wanted to check here before submitting a PR.
In brief, the header block of the jwt generated by Auth0 includes a key id (kid).
It appears that the design supports a custom compareHeaderFunc, but I don't see a way to pass that in to a verifier configuration.
Dan
@dani-fmena
Hi guys, can iris v12.1.8 works with go 1.16 ?
Tan
@Laotanling
yes
Dan
@dani-fmena
@Laotanling thank
Quan Zhang
@cnzhangquan
does Kataras back?
or he is not here ?
qiuzhanghua
@qiuzhanghua
@ Kataras pls reinvite me for the book, my github is qiuzhanghua
Guolei
@enjoy322
iris v11 and v12, where could find the differences?
snowlyg
@snowlyg
@enjoy322 Are you asking what differences between v10 and v12?
iilxy
@iilxy
sessions doesn't work on v12.2.0-alpha4