Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 13 14:27

    kataras on master

    minor (compare)

  • Oct 13 13:33

    kataras on v12.2.0-alpha4

    (compare)

  • Oct 13 13:22

    kataras on master

    add new ':email' path parameter… (compare)

  • Oct 13 13:22

    kataras on master

    (compare)

  • Sep 22 12:04

    kataras on v12.2.0-alpha3

    (compare)

  • Sep 22 11:59

    kataras on master

    v12.2.0-alpha3 (compare)

  • Sep 22 11:50

    kataras on master

    minor (compare)

  • Sep 22 11:28

    kataras on master

    replace optimized json encoder … (compare)

  • Sep 14 19:10

    kataras on master

    update dependencies (compare)

  • Sep 14 18:50

    kataras on master

    minor (compare)

  • Sep 14 18:40

    kataras on master

    Create SECURITY.md (compare)

  • Sep 14 18:24

    kataras on master

    Create codeql-analysis.yml (compare)

  • Sep 14 18:22

    kataras on master

    fix: add go.mod and go.sum to a… Merge pull request #1800 from n… (compare)

  • Sep 14 18:22
    kataras closed #1800
  • Sep 14 18:21

    kataras on master

    fix macos panic dereferencing w… remove extra newline Merge pull request #1805 from K… (compare)

  • Sep 14 18:21
    kataras closed #1805
  • Sep 14 18:19
    kataras closed #1813
  • Sep 07 15:28

    kataras on master

    update the kataras/tunnel depen… (compare)

  • Sep 02 12:44
    renxiaotu review_requested #1813
  • Sep 02 12:44
    renxiaotu opened #1813
snowlyg
@snowlyg
@Laotanling 我有个 qq 交流群欢迎进群交流 676717248
V Rao
@VRao72_twitter
when using iris-cli, it is failing to compile on windows system because of bindata.go having windows paths in strings that are considering as unknown escape sequence characters
could not move further using iris-cli
Any help on this is greatful, and I can proceed further to use iris and can be active member
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 ?