go-oauth2 / oauth2

OAuth 2.0 server library for the Go programming language.
https://pkg.go.dev/github.com/go-oauth2/oauth2/v4
MIT License
3.29k stars 557 forks source link

Support Multiple redirect URL? #174

Open qkrgksqkr opened 3 years ago

qkrgksqkr commented 3 years ago

I think this oauth2.0 server library cannot support multiple endpoints Is it right?.

oauth2.v3/models/client.go // Client client model type Client struct { ID string Secret string Domain string UserID string }

qkrgksqkr commented 3 years ago

It is solved.

rainlay commented 3 years ago

It is solved.

hi @qkrgksqkr, that means is support multiple endpoints ?

thanks.

martinrode commented 9 months ago

How was this solved and where if I may ask?

mrmelon54 commented 1 month ago

Can I ask how this was solved?

qkrgksqkr commented 1 month ago

@rainlay @martinrode @mrmelon54 I solve this problem using 'SetValidateURIHandler'. In path, oauth2.v3/manage/manager.go, There is handler And I can implement, and use this handler. thank you.