We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82f7b3 commit 956cd9aCopy full SHA for 956cd9a
README.md
@@ -29,7 +29,7 @@ dependencies:
29
```crystal
30
require "multi_auth"
31
32
- MultiAuth.config("github", ENV['ID'], ENV['SECRET']) # configuration
+ MultiAuth.config("github", ENV["ID"], ENV["SECRET"]) # configuration
33
34
multi_auth = MultiAuth.make(provider, redirect_uri) # initialize engine
35
multi_auth.authorize_uri # URL to provider authentication dialog
@@ -101,7 +101,7 @@ end
101
class OAuth::Handler::Callback < BrowserAction
102
get "/oauth/:provider/callback" do
103
user = MultiAuthHandler.user(provider, request.query_params)
104
- text user.email.to_s
+ plain_text user.email.to_s
105
end
106
107
```
0 commit comments