Quentin Rousseau

Results 87 comments of Quentin Rousseau

FYI. PosgreSQL has `bigserial` type for signed ids. Cf. https://www.postgresql.org/docs/9.1/static/datatype-numeric.html On rails you can now do ``` ruby create_table :table_name, id: :bigserial do |t| # definitions end ``` But apparently...

Using with devise as ``` config.omniauth :slack, ENV['SLACK_APP_ID'], ENV['SLACK_APP_SECRET'], { ## specify options for your oauth provider here, e.g.: scope: 'identity.basic,identity.email', } ``` is generating ``` https://workspace.slack.com/oauth?client_id=&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fusers%2Fauth%2Fslack%2Fcallback&state&scope=identity.basic%2identity.email&user_scope=&granular_bot_scope=1&install_redirect=&single_channel=0&team=1&tracked=1 ``` Note the...

After further debugging and research i found this post https://stackoverflow.com/questions/61150208/sign-in-with-slack-invalid-scopes-identity-basic-identity-avatar ``` So using /oauth/v2/authorize and /api/oauth.v2.access for add to slack and /oauth/authorize and /api/oauth.access for signin with slack ``` `Sign...

I opened a PR for `user_scope` still https://github.com/jasonrudolph/omniauth-slack/pull/1

@ginjo haha i wanted to do a comment about the `sign in with slack` use case but you did it before me ! Yes i have been struggling all week...

I wouldn't blame this library but i would blame Slack who doesn't properly implements OAuth 2.0 specification properly on their v2 api. If they were, it would have worked out...

@fayeroske https://github.com/amkisko/omniauth-slack-openid.rb is working well here

When will this get merged and released ? Regards

Please merge and release a new version 🙏🏻

Lacking of time at this moment. PR are welcome !