We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As in #7
team
team_domain
config/initializers/devise.rb
Devise.setup do |config| # ... config.omniauth :slack, ENV['SLACK_APP_CLIENT_ID'], ENV['SLACK_APP_CLIENT_SECRET'], scope: 'identity.basic, identity.email', team: ENV['SLACK_OAUTH_TEAM_ID'], team_domain: ENV['SLACK_OAUTH_TEAM_DOMAIN']
If I am not already signed into the team/workspace, I sign in and arrive at the
On [team], [app] would like to: Confirm your identity... [Cancel] [Continue]
page
I overrode OmniauthCallbacksController#after_omniauth_failure_path_for() to take me back to root_path: app/controllers/users/omniauth_callbacks.rb:
OmniauthCallbacksController#after_omniauth_failure_path_for()
root_path
module Users # Specialize Devise::RegistrationsController to Invite newly-registered Users class OmniauthCallbacksController < Devise::OmniauthCallbacksController def after_omniauth_failure_path_for(_) root_path end # ...
and I get this flash:
Could not authenticate you from Slack because "Access denied".
All good so far.
If I click Sign in with Slack again, it does the OAuth dance and signs me in straightaway without asking for permission again.
Is this expected?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As in #7
team
andteam_domain
options:config/initializers/devise.rb
If I am not already signed into the team/workspace, I sign in and arrive at the
page
I overrode
OmniauthCallbacksController#after_omniauth_failure_path_for()
to take me back toroot_path
:app/controllers/users/omniauth_callbacks.rb:
and I get this flash:
All good so far.
The "cached sign-in?" part
If I click Sign in with Slack again, it does the OAuth dance and signs me in straightaway without asking for permission again.
Is this expected?
Thanks!
The text was updated successfully, but these errors were encountered: